Skip to content

ament_cpplint Support for C++20 #500

@rodericktaylor

Description

@rodericktaylor

ament_cpplint doesn't recognise c++20 headers and complains that they are C headers:

Found C system header after C++ system header. Should be: my_class_header.h, c system, c++ system, other.

On code like this.

#include <array>
#include <bit>
#include <cstdint>
#include <cstring>
#include <optional>
#include <ranges>
#include <span>
#include <stdexcept>
#include <string>
#include <string_view>
#include <utility>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions