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

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

# if defined __GNUC__
# define BOOST_TYPEOF __typeof__
# endif

# elif defined __GNUC__
// GNU C++:

# define BOOST_TYPEOF __typeof__

> 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.



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