"David A. Greene" <[EMAIL PROTECTED]> writes:
> Fernando Cacciola wrote:
>> ----- Original Message -----
>> From: "David A. Greene" <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Sent: Tuesday, November 05, 2002 5:10 PM
>> Subject: [boost] Compile-time print
>>
>>>Hi gang,
>>>
>>>Has anyone come across a compile-time print metafunction?
>>>
>> Yep. Look at the attached file: static_print.hpp
>
> Is this going into Boost somewhere eventually? I think it's
> a critically useful thing for metaprogramming.
>
> -Dave
That's an interesting technique. Are you required to be able to
compare signed char* and unsigned char*?
I don't really understand what's going on with it, but Comeau online
is rejecting it:
"ComeauTest.c", line 37: error: type of cast must be integral or enum
STATIC_PRINT_TYPE(whee,U);
^
--
David Abrahams
[EMAIL PROTECTED] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost