Go to the source code of this file.
unit test FormatCOUT_test
Definition in file format-cout-test.cpp.
|
template<typename T > |
using | BasicallyCString = std::is_convertible< T, const char * > |
|
template<typename T > |
using | BasicallyString = is_basically< T, string > |
|
|
#define | ANALYSE(_TYPE_) |
|
#define | SHOW_CHECK(_EXPR_) cout << STRINGIFY(_EXPR_) << "\t : " << (_EXPR_::value? "Yes":"No") << endl; |
|
|
| LAUNCHER (FormatCOUT_test, "unit common") |
|
void | showTraits () |
|
◆ ANALYSE
#define ANALYSE |
( |
|
_TYPE_ | ) |
|
Value:cout <<
"Type: " STRINGIFY(_TYPE_)
" ......"<<endl; \
SHOW_CHECK (is_StringLike<_TYPE_>); \
SHOW_CHECK (BasicallyString<_TYPE_>); \
SHOW_CHECK (BasicallyCString<_TYPE_>); \
SHOW_CHECK (std::is_arithmetic<_TYPE_>); \
SHOW_CHECK (can_lexical2string<_TYPE_>); \
SHOW_CHECK (can_convertToString<_TYPE_>); \
SHOW_CHECK (use_StringConversion4Stream<_TYPE_>);
#define STRINGIFY(TOKEN)
this macro wraps its parameter into a cstring literal
Definition at line 62 of file format-cout-test.cpp.