Subject: Re: [boost] Proposal: Monotonic Containers
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2009-06-12 03:05:57


2009/6/11 Christian Schladetsch <christian.schladetsch_at_[hidden]>:
>
>    template<typename C>
>    void test_loop_monotonic()
>    {
>        boost::monotonic::inline_storage<100000> storage;
>        boost::monotonic::vector<Foo<C> > vec(storage);
>        Foo<C> orig = { 'A', 65 };
>        vec.assign(ELEM_COUNT, orig);
>    }
>

This doesn't even compile for me (GCC 4.3.3), apparently because it
can't swap the allocators.