78 CHECK (showType<int >() ==
"int"_expect );
79 CHECK (showType<int& >() ==
"int&"_expect );
80 CHECK (showType<int&& >() ==
"int &&"_expect );
81 CHECK (showType<int const& >() ==
"int const&"_expect );
82 CHECK (showType<int const&& >() ==
"const int &&"_expect );
83 CHECK (showType<int * >() ==
"int *"_expect );
84 CHECK (showType<int const * >() ==
"const int *"_expect );
85 CHECK (showType<int const * const >() ==
"const int * const"_expect );
86 CHECK (showType<int const * &>() ==
"int const*&"_expect );
87 CHECK (showType<int const * const&>() ==
"int const* const&"_expect );
106 CHECK (showType<ValueTypeBinding<Space>::value_type>() ==
"Space"_expect );
107 CHECK (showType<ValueTypeBinding<Space>::reference>() ==
"Space&"_expect );
108 CHECK (showType<ValueTypeBinding<Space>::pointer>() ==
"Space *"_expect );
143 CHECK (showType<ValueTypeBinding<short>::value_type>() ==
"short"_expect );
144 CHECK (showType<ValueTypeBinding<short>::reference>() ==
"short&"_expect );
145 CHECK (showType<ValueTypeBinding<short>::pointer>() ==
"short *"_expect );
147 CHECK (showType<ValueTypeBinding<short&>::value_type>() ==
"short"_expect );
148 CHECK (showType<ValueTypeBinding<short&>::reference>() ==
"short&"_expect );
149 CHECK (showType<ValueTypeBinding<short&>::pointer>() ==
"short *"_expect );
151 CHECK (showType<ValueTypeBinding<short&&>::value_type>() ==
"short"_expect );
152 CHECK (showType<ValueTypeBinding<short&&>::reference>() ==
"short&"_expect );
153 CHECK (showType<ValueTypeBinding<short&&>::pointer>() ==
"short *"_expect );
155 CHECK (showType<ValueTypeBinding<short const&>::value_type>() ==
"const short"_expect );
156 CHECK (showType<ValueTypeBinding<short const&>::reference>() ==
"short const&"_expect );
157 CHECK (showType<ValueTypeBinding<short const&>::pointer>() ==
"const short *"_expect );
160 CHECK (showType<ValueTypeBinding< short * >::value_type>() ==
"short *"_expect );
161 CHECK (showType<ValueTypeBinding< short * >::reference>() ==
"short*&"_expect );
162 CHECK (showType<ValueTypeBinding< short * >::pointer>() ==
"short* *"_expect );
164 CHECK (showType<ValueTypeBinding<const short * >::value_type>() ==
"const short *"_expect );
165 CHECK (showType<ValueTypeBinding<const short * >::reference>() ==
"short const*&"_expect );
166 CHECK (showType<ValueTypeBinding<const short * >::pointer>() ==
"short const* *"_expect );
168 CHECK (showType<ValueTypeBinding<const short * const>::value_type>() ==
"const short * const"_expect );
169 CHECK (showType<ValueTypeBinding<const short * const>::reference>() ==
"short const* const&"_expect );
170 CHECK (showType<ValueTypeBinding<const short * const>::pointer>() ==
"short * const *"_expect );
172 CHECK (showType<ValueTypeBinding< short * const>::value_type>() ==
"short * const"_expect );
173 CHECK (showType<ValueTypeBinding< short * const>::reference>() ==
"short* const&"_expect );
174 CHECK (showType<ValueTypeBinding< short * const>::pointer>() ==
"short * const *"_expect );
Type re-binding helper template for custom containers and adapters.
Implementation namespace for support and library code.
Simplistic test class runner.
A collection of frequently used helper functions to support unit testing.
string showType()
diagnostic type output, including const and similar adornments