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
 const cast operators displayed incorrectly
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Codeplug
Junior Member

USA
23 Posts

Posted - Jan 24 2005 :  09:15:07 AM  Show Profile
Not a big deal, but FYI...
The sugestion and completion lists will display constant pointer cast operators by merging the "const" and <type> together. Easiest way to reproduce is to type the following:

struct T
{
    operator const char*();
};

T:: <shows completion listbox>

The suggestion/completion listbox will show "operator constchar*", omitting the space between "const" and "char". Like I said, not a big deal :)

gg

Graham C Greene

Codeplug
Junior Member

USA
23 Posts

Posted - Jan 24 2005 :  09:51:06 AM  Show Profile
Using:

VA_X.dll file version 10.1.1293.0
VAOpsWin.dll version 1.2.0.4
MSDev.exe version 6.0.8355.2
Devshl.dll version 6.0.8355.0
Devedit.pkg version 6.0.9782.0
Font: Courier -13(Pixels)
Comctl32.dll version 5.81.4916.400
WindowsNT 5.0 Build 2195 Service Pack 4
Single processor


Graham C Greene
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Jan 24 2005 :  3:35:04 PM  Show Profile
odd. i have seen this problem before but i am unable to reproduce it using "operator const char *" with .NET 2003 and VAX 1293. i have tried your example, and i have also tried adding this operator to an existing class and getting the function list for a class instance.

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

jpizzi
Tomato Guru

USA
642 Posts

Posted - Jan 25 2005 :  11:23:26 PM  Show Profile
Don't I remember reading in another thread that all listboxes after :: are from VS, not VA?

Joe Pizzi
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Jan 27 2005 :  09:14:22 AM  Show Profile
indeed they are. however there is a known bug where some cast operators after dot and arrow are shown with the words joined together, just as described here.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000