Boost logo

Boost :

Subject: Re: [boost] Adding spirit::is_container to boost::traits
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2014-05-27 10:28:08


On Tue, May 27, 2014 at 11:20 AM, Rodrigo Madera
<rodrigo.madera_at_[hidden]> wrote:
> Is there any intention of including is_container [1] into boost::traits?
>
> I find myself using that particular Spirit header, which could be
> useful if isolated into traits.

That traits is meant for users to specialize if they work with non-STL
container types. It doesn't seem very appropriate for boost.traits
because they can't deduce it in C++03 and in C++17 we will have
concepts lite anyway.

> Cheers,
> Madera
>
> [1] http://www.boost.org/doc/libs/1_55_0/libs/spirit/doc/html/spirit/advanced/customize/is_container.html

Regards,

-- 
Felipe Magno de Almeida

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