Boost logo

Boost :

Subject: Re: [boost] [type_traits] is_character<T> trait
From: John Maddock (boost.regex_at_[hidden])
Date: 2014-08-22 12:29:32


> Boost.LexicalCast has a trait boost::detail::is_character<T>, that
> evaluates to true if T is char, char16_t, wchar_t, unsigned char or any
> other character type.
>
> If this trait looks useful, I can move it to TypeTraits library, add docs
> and tests.
>
> Is there any interest in such trait?

I can't currently think of a pressing use for it, but I have no
objection in moving it to type_traits.

John.


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