From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Burrett To: egcs Subject: No Subject Date: Sat, 06 Sep 1997 09:41:00 -0000 Message-id: X-SW-Source: 1997-09/msg00236.html Is anybody looking into the implementation of explicit template arguments for G++ ? Nick B. Here's a couple of examples: // warning: contrived example template T* create() { return new T; } Foo* f = create(); // ^^^ // template argument can't be deduced from (non-existent) // function argument list, so supplied explicitly. // warning: another contrived example class Bar { public: template T* create() { return new T; } }; Bar b; Foo* f = b.template create(); // ^^^^^^^^ // note funny looking syntax: the 'dot template' // construct.