Hi all ! Consider : % cat toto.C template class allocator; template<> class allocator { public: typedef void* pointer; typedef const void* const_pointer; typedef void value_type; template struct rebind { typedef allocator other; }; }; % g++ -c toto.C toto.C:9: invalid member template declaration % g++ --version; uname -a egcs-2.90.17 971114 (gcc2-970802 experimental) SunOS piano 5.5 Generic_103093-14 sun4m sparc SUNW,SPARCstation-20 What am I missing about this diagnostic ? I recall this fraction of code is that in CD2 regarding specialization for allocator. -- gaby Gabriel Dos Reis | École Normale Supérieure de Cachan INRIA, Unité de Recherche de | Centre de Mathématiques et de Leurs Sophia Antipolis | Applications Projet SAFIR | Équipe de Géométrie