Boost logo

Boost :

Subject: Re: [boost] Adding spirit::is_container to boost::traits
From: Rodrigo Madera (rodrigo.madera_at_[hidden])
Date: 2014-05-27 11:34:19


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 [1]. Or, alternatively, if the user
explicitly specializes his homebrew container as such.

Madera

[1] http://en.cppreference.com/w/cpp/concept/Container


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