Newsgroups: comp.lang.c++.moderated
From: "Richard Smith" <rich...@ex-parrot.com>
Date: 19 Mar 2002 04:37:45 -0500
Local: Tues, Mar 19 2002 4:37 am
Subject: Re: is_enum<T> ATTN: Andrei Alexandrescu and ilk
news:df893da6.0203170237.3760f3c4@posting.google.com...
> I looked at 14.8.2/2 (indicated by Peter) and wondered if it is traits class: template <typename T> template <unsigned> struct size_type_wrapper { typedef T type; }; template <class U> static yes check( typename size_type_wrapper< public: template <bool Val> struct static_assert; struct A { }; int main() Comeau 4.3 BETA#2 refuses to compile it saying, "6478.c", line 10: error: no default constructor exists for class "B" Is this correct? I would have thought that as new B is illegal, sizeof( new -- [ Send an empty e-mail to c++-h...@netlab.cs.rpi.edu for info ] You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||