![]() |
NumCpp
2.12.1
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Data Structures | |
class | has_serialize |
type trait to check if a type has a serialize method with the correct signature More... | |
class | has_serialize< DataType, std::void_t< std::enable_if_t< std::is_same_v< serialize_t< DataType >, std::string >, int > > > |
type trait to check if a type has a serialize method with the correct signature More... | |
Typedefs | |
template<typename DataType > | |
using | serialize_t = decltype(std::declval< DataType >().serialize()) |
type trait to check if a type has a serialize method with the correct signature More... | |
Variables | |
template<typename DataType > | |
constexpr bool | has_serialize_v = has_serialize<DataType>::value |
type trait to check if a type has a serialize method with the correct signature More... | |
using nc::logger::detail::type_traits::serialize_t = typedef decltype(std::declval<DataType>().serialize()) |
type trait to check if a type has a serialize method with the correct signature
|
inlineconstexpr |
type trait to check if a type has a serialize method with the correct signature