纷纷雪下错杂谈

生活就像一杯淡淡的清茶,初品之时是那么平淡无味又有几丝苦涩。而回味之时,留下的便尽是一韵久长的幽香。于是,我更热爱生活了。

最新评论

释雪给讲讲wtl吧 ^ ^ 乾坤一笑 2004-06-08 17:18  
如题。
期待中。。。
the content of standard c++ 释雪 2004-06-04 10:11  
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. Such a declaration may also be a definition. If the declaration is not a definition, the specialization may be defined later in the namespace in which the explicit specialization was declared, or in a namespace that encloses the one in which the explicit specialization was declared.

一个显式的特化应该声明在它所在的名域中,对于成员模板来说,应该在声明于它所嵌的类所在的名域中。一个成员函数显式特化应该声明在它的类所在的名域中。一个声明也可以是一个定义。如果声明不是定义的话,特化应该定义在声明所在名域中且在其声明或其中之一之后。

导航

统计

公告