Subject: Re: [boost] Adding spirit::is_container to boost::traits
From: Thijs (M.A.) van den Berg (thijs_at_[hidden])
Date: 2014-05-27 11:52:33
On May 27, 2014, at 5:34 PM, Rodrigo Madera <rodrigo.madera_at_[hidden]> wrote:
> On Tue, May 27, 2014 at 12:30 PM, Thijs (M.A.) van den Berg
> <thijs_at_[hidden]> wrote:
>> What does is_container mean? Does it imply that I can access a begin() member function?
>> What about versioning: some C++11 STL containers have a shrink_to_fit member function that the C++98 STL containers don't have.
> I would bet something like . Or, alternatively, if the user
> explicitly specializes his homebrew container as such.
>  http://en.cppreference.com/w/cpp/concept/Container
Ah, the concept of course, that a very clear definition. Thanks for pointing that out.
Sounds like a great idea, it could be very helpful.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk