rcpputils
master
C++ API providing common utilities and data structures.
|
If std::endian is not available, the necessary functions are emulated. More...
Go to the source code of this file.
Namespaces | |
rcpputils | |
Macros | |
#define | RCPPUTILS_NO_STD_ENDIAN |
Enumerations | |
enum | rcpputils::endian { rcpputils::endian::little = __ORDER_LITTLE_ENDIAN__, rcpputils::endian::big = __ORDER_BIG_ENDIAN__, rcpputils::endian::native = __BYTE_ORDER__ } |
Type traits for defining the endianness at compile-time. More... | |
If std::endian is not available, the necessary functions are emulated.
Note: Once std::endian is supported on all ROS2 platforms, this class can be deprecated in favor of the built-in functionality.
Note: std::endian is targeted for C++20
#define RCPPUTILS_NO_STD_ENDIAN |