On Sat, 11 Jan 2003 18:26:54 -0800, "Paul Mensonides"
<[EMAIL PROTECTED]> wrote:
>Yeah. However, this doesn't really apply to what I'm talking about with:
>
>enum { a, b, c };
>
>Yes, for linkage purposes 'enum xyz { }' is equivalent to 'typedef enum { }
>xyz'.
Well, is the enum below unnamed? Is the program legal?
struct A {
typedef enum { value = 1 } alias;
};
template <typename T>
struct X {
};
int main() {
X <A::alias> x;
}
Genny.
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost