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
 Technical Support
 $MethodName$ does work in 'operator' methods
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

gdobratz
Junior Member

USA
17 Posts

Posted - Dec 15 2014 :  9:08:44 PM  Show Profile  Reply with Quote
Given the code:
class GDPerfClock
{
  virtual TClock operator=( TClock tcNewBase );
};

class GDCountDown : public GDPerfClock
{
  virtual TClock operator=( TClock tcNewBase );
};

TClock GDCountDown::operator=( TClock tcNewBase )
{
    <watch this space>
}
and the snippet:
$BaseClassName$::$MethodName$( $MethodArgs$ );
Inserting the snippet at '<watch this space>' results in:
    GDPerfClock::=( tcNewBase );
i.e., it fails to insert the keyword 'operator'.

gdobratz
Junior Member

USA
17 Posts

Posted - Dec 15 2014 :  9:11:43 PM  Show Profile  Reply with Quote
Sorry, I forgot to mention that I am using Visual Studio 2013, update 4 and VAX build 2052.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19004 Posts

Posted - Dec 18 2014 :  11:14:19 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=39234

Hopefully this is not causing to many problems for you.

zen is the art of being at one with the two'ness
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