c++ - [bug report] template default argument parsing
- Christof Meerwald (17/17) Jul 15 2004 template< int n = sizeof( char[3 > 2] ) >
template< int n = sizeof( char[3 > 2] ) > // Error: ']' expected struct A { }; int main() { A<> d1; A< 0 > d2; return 0; } The template argument probably doesn't make much sense. bye, Christof -- http://cmeerw.org JID: cmeerw jabber.at mailto cmeerw at web.de ...and what have you contributed to the Net?
Jul 15 2004