Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-10-29 07:40:29

From: "John Maddock" <jm_at_[hidden]>
> > This fix should be easy:
> >
> >
> r<bool>::value),
> > true);
> That's seriously ugly, IMO the test program uses type traits as they are
> meant to be used: as template arguments, and enum values can certainly be
> used in non-type template arguments, even if the enum itself is anonymous
> IMO.

Enum values can, but the unnamed enum type itself cannot be used as a
template argument.

Boost list run by bdawes at, gregod at, cpdaniel at, john at