diff --git a/include/boost/type_traits/detail/has_binary_operator.hpp b/include/boost/type_traits/detail/has_binary_operator.hpp
index 9f91843..f8d5e0f 100644
a
|
b
|
no_operator operator,(no_operator, has_operator);
|
152 | 152 | |
153 | 153 | template < typename Lhs, typename Rhs > |
154 | 154 | struct operator_exists { |
155 | | static ::boost::type_traits::yes_type check(has_operator); // this version is preferred when operator exists |
156 | | static ::boost::type_traits::no_type check(no_operator); // this version is used otherwise |
| 155 | static ::boost::type_traits::yes_type check_(has_operator); // this version is preferred when operator exists |
| 156 | static ::boost::type_traits::no_type check_(no_operator); // this version is used otherwise |
157 | 157 | |
158 | | BOOST_STATIC_CONSTANT(bool, value = (sizeof(check(((make<Lhs>() BOOST_TT_TRAIT_OP make<Rhs>()),make<has_operator>())))==sizeof(::boost::type_traits::yes_type))); |
| 158 | BOOST_STATIC_CONSTANT(bool, value = (sizeof(check_(((make<Lhs>() BOOST_TT_TRAIT_OP make<Rhs>()),make<has_operator>())))==sizeof(::boost::type_traits::yes_type))); |
159 | 159 | }; |
160 | 160 | |
161 | 161 | |
diff --git a/include/boost/type_traits/detail/has_postfix_operator.hpp b/include/boost/type_traits/detail/has_postfix_operator.hpp
index 52b8f81..b509bb5 100644
a
|
b
|
no_operator operator,(no_operator, has_operator);
|
138 | 138 | |
139 | 139 | template < typename Lhs > |
140 | 140 | struct operator_exists { |
141 | | static ::boost::type_traits::yes_type check(has_operator); // this version is preferred when operator exists |
142 | | static ::boost::type_traits::no_type check(no_operator); // this version is used otherwise |
| 141 | static ::boost::type_traits::yes_type check_(has_operator); // this version is preferred when operator exists |
| 142 | static ::boost::type_traits::no_type check_(no_operator); // this version is used otherwise |
143 | 143 | |
144 | | BOOST_STATIC_CONSTANT(bool, value = (sizeof(check(((make<Lhs>() BOOST_TT_TRAIT_OP),make<has_operator>())))==sizeof(::boost::type_traits::yes_type))); |
| 144 | BOOST_STATIC_CONSTANT(bool, value = (sizeof(check_(((make<Lhs>() BOOST_TT_TRAIT_OP),make<has_operator>())))==sizeof(::boost::type_traits::yes_type))); |
145 | 145 | }; |
146 | 146 | |
147 | 147 | |
diff --git a/include/boost/type_traits/detail/has_prefix_operator.hpp b/include/boost/type_traits/detail/has_prefix_operator.hpp
index 9c4ccd5..b3d397c 100644
a
|
b
|
no_operator operator,(no_operator, has_operator);
|
146 | 146 | |
147 | 147 | template < typename Rhs > |
148 | 148 | struct operator_exists { |
149 | | static ::boost::type_traits::yes_type check(has_operator); // this version is preferred when operator exists |
150 | | static ::boost::type_traits::no_type check(no_operator); // this version is used otherwise |
| 149 | static ::boost::type_traits::yes_type check_(has_operator); // this version is preferred when operator exists |
| 150 | static ::boost::type_traits::no_type check_(no_operator); // this version is used otherwise |
151 | 151 | |
152 | | BOOST_STATIC_CONSTANT(bool, value = (sizeof(check(((BOOST_TT_TRAIT_OP make<Rhs>()),make<has_operator>())))==sizeof(::boost::type_traits::yes_type))); |
| 152 | BOOST_STATIC_CONSTANT(bool, value = (sizeof(check_(((BOOST_TT_TRAIT_OP make<Rhs>()),make<has_operator>())))==sizeof(::boost::type_traits::yes_type))); |
153 | 153 | }; |
154 | 154 | |
155 | 155 | |