Boost logo

Boost :

Subject: Re: [boost] Proposal: Monotonic Containers
From: Christian Schladetsch (christian.schladetsch_at_[hidden])
Date: 2009-06-12 03:36:55


Hi Scott,

Thanks for that; adding operator!= for monotonic::allocator seems to've
fixed it. I am in the process of incorporating all the suggested changes
into the sandbox now, and testing across more compilers.

Cheers,
Christian.

On Fri, Jun 12, 2009 at 7:05 PM, Scott McMurray <me22.ca+boost_at_[hidden]>wrote:

> 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.
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


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