Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Fix Create Implimentation for templated mem-funs

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
niteris Posted - Feb 23 2009 : 8:38:39 PM
class Foo {
template<typename T> Foo();
};

--> Right Click Foo() constructor, select Refactor->Create Implementation

--> Auto-generates
template<typename T>
Foo<T>::Foo()
{

}

Which is wrong, should be
template<typename T>
Foo::Foo()
{

}

Templated member functions of templated classes is also broken.

~niteris
2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Feb 25 2013 : 12:22:04 PM
case=2993 is fixed in build 1929
feline Posted - Feb 25 2009 : 12:32:44 PM
I am seeing the same effect here. Thank you for the clear description. The basic template class member function problem is:

case=2993

And the problem with a template function inside a template class is:

case=5476

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000