I doubt it.
I just had a thought though. If for some reason you wanted a templated function that would have its templates determined implicitly and wanted to use default parameters, you'd want...
Type: Posts; User: Mozza314
I doubt it.
I just had a thought though. If for some reason you wanted a templated function that would have its templates determined implicitly and wanted to use default parameters, you'd want...
Of course. By "I suppose it would work in C++", I mean I suppose that the C++ language could fairly easily be changed to allow it.
To me the issue of having an explicit template argument after an implicit one seems only syntactic, just like default function parameters. You'd need to write something like:
#include <iostream>...
gcc compiles this code, but I'm a little concerned it's not strictly legal C++:
#include <iostream> ...