Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Fix Create Implimentation for templated mem-funs
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

niteris
Starting Member

1 Posts

Posted - Feb 23 2009 :  8:38:39 PM  Show Profile  Reply with Quote
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

feline
Whole Tomato Software

United Kingdom
18750 Posts

Posted - Feb 25 2009 :  12:32:44 PM  Show Profile  Reply with Quote
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

zen is the art of being at one with the two'ness
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Feb 25 2013 :  12:22:04 PM  Show Profile  Reply with Quote
case=2993 is fixed in build 1929
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000