
2 Dec
2005
2 Dec
'05
10:45 p.m.
On Fri, Dec 02, 2005 at 12:11:32PM -0800, Eric Niebler <eric@boost-consulting.com> wrote:
Andreas Pokorny wrote:
Hi, The default implementation of boost::fusion::pair<first,second> only stores an instance of second. I might need a fusion::pair which does not store that instance either,
If you want a map with *no* runtime data, then you should use mpl::map<>, not fusion::map<>. mpl::map<> uses mpl::pair<>, which has no runtime data. (Caveat: mpl::map is broken in more than one respect at the moment. Hopefully, it'll be fixed soon.)
Ah, I could write an interleaved map that splits the pair sequence into runtime and compile time info holders. How is mpl::map broken? Regards, Andreas Pokorny