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
 Return value isn't qualified in implementation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

yym
Senior Member

Israel
31 Posts

Posted - Feb 15 2011 :  07:11:26 AM  Show Profile  Reply with Quote
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()
{

}

feline
Whole Tomato Software

United Kingdom
18750 Posts

Posted - Feb 15 2011 :  1:59:34 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=1247

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

sean
Whole Tomato Software

USA
2817 Posts

Posted - Feb 02 2016 :  7:56:41 PM  Show Profile  Reply with Quote
case=1247 is fixed in build 2089.
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