On 2011-02-28 09:55:54 -0500, Michel Fortin <[email protected]> said:
On 2011-02-28 09:34:30 -0500, spir <[email protected]> said:
So, let's use ':'.
Note however that ':' already has a meaning in templates arguments.
Using ':' for named function arguments would preclude having named
template arguments (or force template arguments to use yet another
syntax).
Oops, sorry. I was mixing up template definition and template
instanciation. Turns out there's no real problem:
template Test(T : U) { }
Test!(T: int);
--
Michel Fortin
[email protected]
http://michelf.com/