ament / ament_lint

Apache License 2.0
38 stars 107 forks source link

ament_cpplint Support for C++20 #500

Open rodericktaylor opened 3 months ago

rodericktaylor commented 3 months ago

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>