$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] Fwd: Re: [interprocess][move] enum template argument fails to be a valid base class
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2010-04-22 07:38:00
On 22/04/2010 10:00, vicente.botet wrote:
> Hrr, I have added you suggestion and in addition a specialization for
> is_enum to emulate the compiler behavior
>
> namespace boost { template<> class is_enum<Test::Types> : public
> mpl::false_ {}; }
Why? And you say "False", so evidently, the commented trait will try to
instantiatie rv.
And the bad part is that is_enum requires instantiation, which breaks
the possibility of recursive containers. And I don't want that to
happen. Is there any possibility to detect an enum without instantiating
the class?
Best,
Ion