Boost logo

Boost :

From: Daniel James (daniel_at_[hidden])
Date: 2004-09-12 08:00:05


Arkadiy Vertleyb wrote:
> OK. Is it the only problem with Intel? I did not realize things are so
> good -- I've been only testing with VC7.1 and GCC 3.3.

It's always worked with intel. Without precompiled headers it's a little
slow, but with them it's fine.

On linux, intel has a built in typeof, because it tries to emulate g++.
You can tell when it has this because it defines __GNUC__. Also, I
noticed that you're using 'typeof' on g++, if you use __typeof__ instead
it will work with the -ansi switch. This is what I'm using in the config
file:

#elif defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) ||
defined(__ECC)
// Intel

# if defined __GNUC__
# define BOOST_TYPEOF __typeof__
# undef BOOST_TYPEOF_EMULATION
# endif

# elif defined __GNUC__
// GNU C++:

# define BOOST_TYPEOF __typeof__
# undef BOOST_TYPEOF_EMULATION

> Thanks for your comments. I am glad you liked the library after all...
> I'll make the fixes and post the modified version sometime soon.

Sorry if I seemed too negative, I've always liked it. I was a little
worried about the limits on the complexity of types and the number of
calls to foo that were generated, but I'm over that now. You've
implemented some improvements, and I now think it wasn't that big a
problem in the first place.

By the way, I did some small experiments with using mpl views instead of
vectors. It seems that the performance depends on the compiler, on some
they're faster, on some they're slower. Which I guess was inevitable.
So, I'm dropping that idea.

thanks,

Daniel


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