At 02:10 AM 6/5/2003, Daryle Walker wrote:

>On Wednesday, June 4, 2003, at 3:54 PM, Beman Dawes wrote:
>
>> Hum... I just had a thought. Is it possible to detect if wchar_t is a
>> typedef at compile time?
>>
>> Yes, I think so. Won't boost::is_same< unsigned short, wchar_t
>> >::value be true if wchar_t is a typedef, and false if a distinct > type?
>>
>> I'll do some experiments.
>
>The method you gave may not work. Who says that "unsigned short" is
>the type that "wchar_t" rips off?


That's right in general, of course, but the context here is <boost/config/compiler/intel.cpp>. For a specific compiler, we know the typedef'ed type.

--Beman


_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to