Da potvrdim predhodno navedeno.
Za eskplicitne specijalizacije stvar je cista:
Citat:
14.7.3.1
2 — An explicit specialization shall be declared in the namespace of which the template is a member, or, for
member templates, in the namespace of which the enclosing class or enclosing class template is a member.
An explicit specialization of a member function, member class or static data member of a class template
shall be declared in the namespace of which the class template is a member. ...
Ako mora (
shall be ) u
namespace-u onda ne moze van jer bi bilo
multiple declaration.
Za delimicne je malko mutno:
Citat:
14.5.4
6 — A class template partial specialization may be declared or redeclared in any namespace scope in which its
definition may be defined (14.5.1 and 14.5.2). ...
Da su mesto
may be stavili
shall be, pa da bude potpuno odredjeno.
Ovako ne zvuci da samo tu mora.
I Working Draft (Doc No: N2461=07-0331, Date: 2007-10-22 ) kaze isto.
AKA DDMM