Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Return value isn't qualified in 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
yym Posted - Feb 15 2011 : 07:11:26 AM
VS08, VA 1837

When VA generated the implementation of a member function, if the return type is inherited from a base class the return type isn't qualified with the class name.

Given:
class B
{
public:
    typedef int II;
};

class C : public B
{
public:
    II func();
};

The generated implementation for func is:
II C::func()
{

}

instead of
C::II C::func()
{

}
2   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Feb 02 2016 : 7:56:41 PM
case=1247 is fixed in build 2089.
feline Posted - Feb 15 2011 : 1:59:34 PM
I am seeing the same effect here. Thank you for the clear description.

case=1247

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