Boost logo

Boost :

From: Brian McNamara (lorgon_at_[hidden])
Date: 2004-02-20 13:53:58

On Fri, Feb 20, 2004 at 01:21:06PM -0500, Jody Hagins wrote:
> 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> find . | xargs egrep 'int_c[:space:]*<'

I think the problem is that much Boost library code is

Maybe doing
   // foo.cpp
   #include "boost/mpl/int.hpp"
and then trying
   gcc -E foo.cpp
will help you find the code you seek. (I haven't actually tried.)

-Brian McNamara (lorgon_at_[hidden])

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