Boost logo

Boost :

From: Jody Hagins (jody-boost-011304_at_[hidden])
Date: 2004-02-20 13:21:06

I have a bunch of code that uses loki. I am trying to convert it to use
boost instead. However, I am having a very difficult time finding
concepts in boost to replace those in loki. I have looked for something
to help in this, but I have not had much success. I have read through
the MP documentation, and I am even more confused.

For example, I use Loki::Int2Type, and according to a loose
interpretation of section 2.3.6, mpl::int_c<> may be what I am looking
for (at least for this one specific case). However, when I went to look
at the source to make sure it does what I think it does, I could not
find it anywhere. I have 1.31.0, extracted from the tar.gz file, and
did a complete find, but the only place I can find reference to it is in
.sgml files.

Anyone know what this became, or how to correct my brain-dedness?

shandalle:jody> md5sum boost_1_31_0.tar.gz
c19ed169de6e76de91f2a1602fb1c688 boost_1_31_0.tar.gz

shandalle:jody> find . | xargs egrep 'int_c[:space:]*<'
./libs/mpl/doc/paper/src/lambda.sgml: mpl::less< mpl::sizeof_<_1>,
mpl::int_c<16> >
./libs/mpl/doc/paper/src/lambda.sgml: , mpl::int_c<16>
./libs/mpl/doc/paper/src/lambda.sgml: , mpl::bind< mpl::less<>,
mpl::bind<mpl::sizeof_<>,_1>, mpl::int_c<16> >
./libs/mpl/doc/paper/src/lambda.sgml: mpl::less<
mpl::sizeof_<_>,mpl::int_c<16> >
./libs/mpl/doc/paper/src/lambda.sgml: mpl::less<
mpl::sizeof_<_>,mpl::int_c<16> >
./libs/mpl/doc/paper/src/lambda.sgml: mpl::less<
mpl::sizeof_<_>,mpl::int_c<16> >
./libs/mpl/doc/paper/src/sequences.sgml: mpl::int_c<1>
./libs/mpl/doc/paper/src/sequences.sgml: , mpl::int_c<2>
./libs/mpl/doc/paper/src/sequences.sgml: , mpl::int_c<3>
./libs/mpl/doc/paper/src/sequences.sgml: , mpl::int_c<4>
./libs/mpl/doc/paper/src/sequences.sgml: , mpl::int_c<5>
./libs/mpl/doc/src/howtos.sgml:typedef mpl::lower_bound<types,
mpl::int_c<5>, mpl::less<_1,_2> >::type iterator;
./libs/mpl/doc/src/howtos.sgml:typedef mpl::upper_bound<types,
mpl::int_c<5>, mpl::less<_1,_2> >::type iterator;
./libs/mpl/doc/src/howtos.sgml:typedef mpl::binary_search<types,
mpl::int_c<5>, mpl::less<_1,_2> >::type iterator;

Jody Hagins
What did Mickey Mouse get for Christmas?
A Dan Quayle watch.
-- heard from a Mike Dukakis field worker

Boost list run by bdawes at, gregod at, cpdaniel at, john at