$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] identification versus demangle
From: Lars Viklund (zao_at_[hidden])
Date: 2011-07-12 06:20:12
On Tue, Jul 12, 2011 at 11:34:39AM +0200, Mathias Gaunard wrote:
> On 07/11/2011 01:02 AM, Gordon Woodhull wrote:
>> Is there an alternative? I just end up hacking my own errors when I have to debug stuff, but that won't work here.
>
> That could be a defect of mpl::print.
>
> I believe the following implementation works reliably well with GCC.
>
> template<class T>
> struct print
> {
> typedef T type;
> unsigned : 80;
> };
If anyone cares for obscure facts about exotic compilers, VisualAge C++
gladly accepts oversized bitfields without any informational messages
whatsoever.
-- Lars Viklund | zao_at_[hidden]