COMMS
Template library intended to help with implementation of communication protocols.
|
Namespace for various compile-time detection operations of whether a type has certain member types and/or member functions. More...
Namespace for various compile-time detection operations of whether a type has certain member types and/or member functions.
Functions | |
template<typename T > | |
constexpr bool | hasAssignFunc () |
Detect whether provided type has assign() member function which can receive two pointers in its arguments. More... | |
template<typename T > | |
constexpr bool | hasClearFunc () |
Detect whether provided type has clear() member function. More... | |
template<typename T > | |
constexpr bool | hasMaxSizeFunc () |
Detect whether provided type has max_size() member function. More... | |
template<typename T > | |
constexpr bool | hasPtrSizeConstructor () |
Detect whether provided type has a constructor that receives a pointer + size parameters. More... | |
template<typename T > | |
constexpr bool | hasRemoveSuffixFunc () |
Detect whether provided type has remove_suffix() member function. More... | |
template<typename T > | |
constexpr bool | hasReserveFunc () |
Detect whether provided type has reserve() member function. More... | |
template<typename T > | |
constexpr bool | hasResizeFunc () |
Detect whether provided type has resize() member function. More... | |
template<typename T > | |
constexpr bool | isStdSpan () |
Detect whether provided type is std::span. | |
|
constexpr |
Detect whether provided type has assign() member function which can receive two pointers in its arguments.
|
constexpr |
Detect whether provided type has clear() member function.
|
constexpr |
Detect whether provided type has max_size() member function.
|
constexpr |
Detect whether provided type has a constructor that receives a pointer + size parameters.
|
constexpr |
Detect whether provided type has remove_suffix() member function.
|
constexpr |
Detect whether provided type has reserve() member function.
|
constexpr |
Detect whether provided type has resize() member function.