No subject
Tue Oct 14 00:29:20 CEST 2008
> In fact, the sizeof stuff isn't needed; I was just trying to avoid
> some compilation overhead, but that was a shot in the dark. You can
> change both of those
> convert_function_must_take_value_or_const_reference overloads to
> inline void, give them bodies, and remove the
> BOOST_STATIC_ASSERT(sizeof( ... ) == sizeof(int)) wrapper around the
> call.
I will try this out if you want, but I'd like you to consider that the
suggested change could cause problems on other platforms, while Romain's fix is
minimally intrusive and does not change the code seen by compilers other than
gcc 3.3.
Your choice: adventurous or conservative?
Ralf
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
More information about the Cplusplus-sig
mailing list