87 CHECK (showType<int >() ==
"int"_expect );
88 CHECK (showType<int& >() ==
"int&"_expect );
89 CHECK (showType<int&& >() ==
"int &&"_expect );
90 CHECK (showType<int const& >() ==
"int const&"_expect );
91 CHECK (showType<int const&& >() ==
"const int &&"_expect );
92 CHECK (showType<int * >() ==
"int *"_expect );
93 CHECK (showType<int const * >() ==
"const int *"_expect );
94 CHECK (showType<int const * const >() ==
"const int * const"_expect );
95 CHECK (showType<int const * &>() ==
"int const*&"_expect );
96 CHECK (showType<int const * const&>() ==
"int const* const&"_expect );
115 CHECK (showType<ValueTypeBinding<Space>::value_type>() ==
"Space"_expect );
116 CHECK (showType<ValueTypeBinding<Space>::reference>() ==
"Space&"_expect );
117 CHECK (showType<ValueTypeBinding<Space>::pointer>() ==
"Space *"_expect );
152 CHECK (showType<ValueTypeBinding<short>::value_type>() ==
"short"_expect );
153 CHECK (showType<ValueTypeBinding<short>::reference>() ==
"short&"_expect );
154 CHECK (showType<ValueTypeBinding<short>::pointer>() ==
"short *"_expect );
156 CHECK (showType<ValueTypeBinding<short&>::value_type>() ==
"short"_expect );
157 CHECK (showType<ValueTypeBinding<short&>::reference>() ==
"short&"_expect );
158 CHECK (showType<ValueTypeBinding<short&>::pointer>() ==
"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<short const&>::value_type>() ==
"const short"_expect );
165 CHECK (showType<ValueTypeBinding<short const&>::reference>() ==
"short const&"_expect );
166 CHECK (showType<ValueTypeBinding<short const&>::pointer>() ==
"const short *"_expect );
169 CHECK (showType<ValueTypeBinding< short * >::value_type>() ==
"short *"_expect );
170 CHECK (showType<ValueTypeBinding< short * >::reference>() ==
"short*&"_expect );
171 CHECK (showType<ValueTypeBinding< short * >::pointer>() ==
"short* *"_expect );
173 CHECK (showType<ValueTypeBinding<const short * >::value_type>() ==
"const short *"_expect );
174 CHECK (showType<ValueTypeBinding<const short * >::reference>() ==
"short const*&"_expect );
175 CHECK (showType<ValueTypeBinding<const short * >::pointer>() ==
"short const* *"_expect );
177 CHECK (showType<ValueTypeBinding<const short * const>::value_type>() ==
"const short * const"_expect );
178 CHECK (showType<ValueTypeBinding<const short * const>::reference>() ==
"short const* const&"_expect );
179 CHECK (showType<ValueTypeBinding<const short * const>::pointer>() ==
"short * const *"_expect );
181 CHECK (showType<ValueTypeBinding< short * const>::value_type>() ==
"short * const"_expect );
182 CHECK (showType<ValueTypeBinding< short * const>::reference>() ==
"short* const&"_expect );
183 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.
Simple test class runner.
A collection of frequently used helper functions to support unit testing.
string showType()
diagnostic type output, including const and similar adornments