|
Boost : |
Subject: Re: [boost] [Review] Boost.Type Traits Extension by Frederic Bron
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-03-14 11:43:00
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 ?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk