
14 Mar
2011
14 Mar
'11
3:43 p.m.
On 3/14/2011 9:53 AM, Max Sobolev wrote:
On 14.03.2011 16:27, Тимофей Игнатьич wrote:
The default void return type should probably be changed to some internal dummy type. This would allow to check if the return type is actually void if so desired.
class dymmy_type;
template< class LHS, class RHS=LHS, class RET=dymmy_type> has_operator_op;
i am agree with this.
but *internal* sounds like:
namespace boost {
namespace type_traits { namespace detail {
struct dymmy_type;
} }
template<class LHS, class RHS =LHS, class RET =type_traits::detail::dymmy_type>
has_operator_op;
} // namespace boost
dummy_type should be placed in a "private" namespace
What is a "private" namespace ?