Boost logo

Boost :

Subject: Re: [boost] type traits not in boost.type_traits
From: Vicente Botet (vicente.botet_at_[hidden])
Date: 2011-02-25 12:57:33


Frédéric Bron wrote:
>
> I found the following files in 1.46.0 that could be either removed or
> moved to type_traits:
>
> * graph/detail/is_same.hpp -> already existing type traits library
>
> comment in the file: Deprecate the use of this header. TODO: Remove
> this file from trunk/release in 1.41/1.42.
> by the way, it seems that the file is never included so that we could
> safely remove it.
> Can we do that and run the tests to see if everything is still working?
>
> * iostreams/detail/is_dereferenceable.hpp -> could be moved to type
> traits but I should have a look to see if I cannot implement it in the
> extension
> If it is straightforward, I will implement it.
>
> The following will be part of the type trait extension (so let's
> review the extension first...):
>
> * detail/is_incrementable.hpp -> has_operator_increment<T>
> * exception/detail/is_output_streamable.hpp ->
> has_operator_left_shift<std::ostream, T>
>
>

Hi,

http://www.boost.org/doc/libs/1_46_0/libs/utility/operators.htm#arithmetic
could be a good starting point to name some common groups of operations.

http://neoscientists.org/~tschwinger/boostdev/concept_traits/libs/concept_traits/doc/#StandardConceptTraits
gives some more elaborated concepts that could be added.

Best,
Vicente

-- 
View this message in context: http://boost.2283326.n4.nabble.com/type-traits-not-in-boost-type-traits-tp3323941p3324920.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk