Home | History | Annotate | Download | only in arithmetic.operations

Lines Matching refs:is_transparent

14 struct is_transparent
19 template <class _Up> static char __test(typename _Up::is_transparent* = 0);
28 static_assert ( !is_transparent<std::plus<int>>::value, "" );
29 static_assert ( !is_transparent<std::plus<std::string>>::value, "" );
30 static_assert ( is_transparent<std::plus<void>>::value, "" );
31 static_assert ( is_transparent<std::plus<>>::value, "" );
33 static_assert ( !is_transparent<std::minus<int>>::value, "" );
34 static_assert ( !is_transparent<std::minus<std::string>>::value, "" );
35 static_assert ( is_transparent<std::minus<void>>::value, "" );
36 static_assert ( is_transparent<std::minus<>>::value, "" );
38 static_assert ( !is_transparent<std::multiplies<int>>::value, "" );
39 static_assert ( !is_transparent<std::multiplies<std::string>>::value, "" );
40 static_assert ( is_transparent<std::multiplies<void>>::value, "" );
41 static_assert ( is_transparent<std::multiplies<>>::value, "" );
43 static_assert ( !is_transparent<std::divides<int>>::value, "" );
44 static_assert ( !is_transparent<std::divides<std::string>>::value, "" );
45 static_assert ( is_transparent<std::divides<void>>::value, "" );
46 static_assert ( is_transparent<std::divides<>>::value, "" );
48 static_assert ( !is_transparent<std::modulus<int>>::value, "" );
49 static_assert ( !is_transparent<std::modulus<std::string>>::value, "" );
50 static_assert ( is_transparent<std::modulus<void>>::value, "" );
51 static_assert ( is_transparent<std::modulus<>>::value, "" );
53 static_assert ( !is_transparent<std::negate<int>>::value, "" );
54 static_assert ( !is_transparent<std::negate<std::string>>::value, "" );
55 static_assert ( is_transparent<std::negate<void>>::value, "" );
56 static_assert ( is_transparent<std::negate<>>::value, "" );