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
 Bug: members of both return type & argument 1638
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

cbranch
Senior Member

USA
30 Posts

Posted - May 15 2008 :  5:57:33 PM  Show Profile  Reply with Quote
Version 1638
VS 2003

Returning a reference from a function with a single argument, and attempting to get the members when inlining code VAX lists the members of both of the return type as well as the argument type.


struct T
{
   void bar();
};

class Sr
{
public:
   Sr();

   void baz();
};

T& _U_test(Sr& gr);

int main()
{
   Sr anS;
   _U_test(anS).
}


Expected list box contents (on .)
bar()

Actual list box contents
bar() [bold]
baz()
Sr()

Colin Branch

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - May 16 2008 :  5:42:42 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=16790

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

support
Whole Tomato Software

5566 Posts

Posted - Jul 14 2008 :  2:34:07 PM  Show Profile  Reply with Quote
case=16790 is fixed in build 1645

Whole Tomato Software, Inc.
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