// ---------------------------------------------------------------------- // // default.cc - Do we fully support default template parameters? // // History: // 02-Aug-1999 WEB Initial draft, adapted from Blitz++ // 09-Sep-1999 WEB Silence warning: f() no longer returns const // 25-Apr-2001 WEB s//"ISOcxx\/ISOcxxSyntax.hh"/ // // ---------------------------------------------------------------------- #include "ISOcxx/ISOcxxSyntax.hh" template< class T = double, int N = 10 > struct def { int f() const { return 0; } }; // def int main() { def d; return d.f(); } // main()