Boost logo

Boost Users :

Subject: Re: [Boost-users] Container with insertion order
From: Claude (clros_at_[hidden])
Date: 2011-12-03 16:31:21


Igor R. wrote
>
> By the way, why don't you just inherit from multi_index_container and
> add [] operator?
> MIC itself already has STL-complient interace, so trying to rewrite it
> is hardly worth the effort.
> The following is your code, but with inheritance:
>

I have already written a lot of code that uses std::map. I would like to
replace std::map with my class Ordered_Map without changing my code. This is
possible his example?

--
View this message in context: http://boost.2283326.n4.nabble.com/Container-with-insertion-order-tp4097717p4154946.html
Sent from the Boost - Users mailing list archive at Nabble.com.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net