type traits concept test template to check wether a type T
is a type can be used for Stream Meta Type or not.
More...
|
enum | { value = sizeof(test<T>(nullptr)) == sizeof(char)
} |
| Value test type.
|
|
|
typedef char | one |
| checked type one
|
|
typedef long | two |
| other types two
|
|
|
template<typename C > |
static one | test (decltype(&C::MetaTypeName)) |
| test function to test if type T has a string literal MetaTypeName defined. More...
|
|
template<typename C > |
static two | test (...) |
| negative test function to test if type T has a string literal MetaTypeName defined. More...
|
|
template<typename T>
class adtf::streaming::flash::is_stream_meta_type< T >
type traits concept test template to check wether a type T
is a type can be used for Stream Meta Type or not.
it must define a string literal called MetaTypeName
- Template Parameters
-
Definition at line 370 of file streamtype_intf.h.
◆ test() [1/2]
negative test function to test if type T
has a string literal MetaTypeName
defined.
- Returns
- the type
two
◆ test() [2/2]
static one test |
( |
decltype &::MetaTypeName |
| ) |
|
|
staticprivate |
test function to test if type T
has a string literal MetaTypeName
defined.
- Returns
- the type
one