Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Pure virtual with default implementation

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
joracine Posted - Feb 02 2009 : 1:28:26 PM
Hello,

When using the Refactor/Create Implementation function on a pure virtual function, the "=0" is treated like a default argument value and the implementation stub is wrong:


bool Observer::OnModify(Observable* ModifedObject) /*= 0
													   {

													   }


Have a good day!
2   L A T E S T    R E P L I E S    (Newest First)
joracine Posted - Feb 02 2009 : 2:17:52 PM
Thanks.
accord Posted - Feb 02 2009 : 2:13:22 PM
The fix for this problem is available in the latest build (1715):

http://www.wholetomato.com/downloads/default.asp

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