selalerer
Starting Member
1 Posts |
Posted - Jan 12 2012 : 10:36:56 AM
|
Hi.
If I have a template with default type parameters, e.g.:
template <typename T = int> struct MyClass { void foo(); };
When I right click foo() and select Create Implementation this is what I get:
template <typename T = int> void MyClass::foo() { }
Which doesn't compile (because of the = int).
Will appreciate it if this will be fixed.
I'm using version: Version 10.6.1862.0 built 2011.12.13
Thank you, selalerer |
|
feline
Whole Tomato Software
United Kingdom
19074 Posts |
Posted - Jan 12 2012 : 11:05:24 AM
|
I am seeing the same effect here. Thank you for the clear description. This appears to be covered by:
case=2948
Hopefully removing the unwanted default parameter from the implementation is not to much fuss, and this is still quicker than typing the implementation manually. |
zen is the art of being at one with the two'ness |
|
|