[temp.mem.enum]

# 13 Templates [[temp]](./#temp)

## 13.7 Template declarations [[temp.decls]](temp.decls#temp.mem.enum)

### 13.7.2 Class templates [[temp.class]](temp.class#temp.mem.enum)

#### 13.7.2.6 Enumeration members of class templates [temp.mem.enum]

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/templates.tex#L2936)

An enumeration member of a class template may be defined outside the class
template definition[.](#1.sentence-1)

[*Example [1](#example-1)*: template<class T> struct A {enum E : T;};template<class T> enum A<T>::E : T { e1, e2 };
A<int>::E e = A<int>::e1; â *end example*]
