T O P I C R E V I E W |
str |
Posted - Jan 05 2021 : 09:21:25 AM Hi, following example: class Foo { void f(); };
void Foo::f() { }
Later you want to make Foo a template class:
template <typename T> class Foo { void f(); };
template <typename T> void Foo<T>::f() { }
If Foo has a lot of member functions this could be a huge amount of work and could easily be done automatically.
Best regards Steffen |
1 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Jan 06 2021 : 07:55:34 AM An interesting idea, and this makes quite a bit of sense, I have put in a feature request to see what our developers make of this:
case=144282
for now, if you often have to do this, you could do some, or even a lot of the changes with a regular expression find and replace, with care. |
|
|