Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1522: :: expands incorrectly

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
MrJones4u Posted - Jun 15 2006 : 3:54:07 PM
Hi,
when typing :: VAX expands it to :_GetBaseClass:

When typing :: after e.g. a class name it depends on the VAX's understanding of the class (I guess that the _GetBaseClass part may vary from project to project type).

so typeing something like:
CTimeline_Occurrence::ERepeatType::eeInterval
ends up being:
CTimeline_Occurrence::ERepeatType:_GetBaseClass:eeInterval
and sometimes even:
CTimeline_Occurrence:_GetBaseClass:ERepeatType:_GetBaseClass:eeInterval


Using: VS6

Good Luck!

cu,
Michael

PS: Apart from the "minor" bug this is some cool stuff!
9   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jun 27 2006 : 4:52:18 PM
*sigh* personally i like the non compliant form, it is a lot easier to see what you are doing when working with a library class that contains 15 enum types.

that compiled cleanly for me in VS2003, but VS2005 produces a warning, and my UNIX C++ compiler does not compile it at all.
MrJones4u Posted - Jun 26 2006 : 4:38:13 PM

Yes, guess so... sad only that the VC6 does not know that ... Not doing it for fun.

cu,
Michael
Staffan Posted - Jun 26 2006 : 4:31:33 PM
However, it is not standard compliant C++ to qualify with the Enum name.

CTimeline_Occurrence::eeInterval is OK.
CTimeline_Occurrence::ERepeatType::eeInterval is a violation.

see http://msdn2.microsoft.com/en-us/library/ms173704.aspx.

Regards

/Staffan
support Posted - Jun 26 2006 : 12:44:13 AM
Fixed in build 1525.
feline Posted - Jun 17 2006 : 3:18:08 PM
*ah*, well it was a good theory while it lasted

so far this bug is only showing up in VC6, which is something. i have flagged this as urgent and needing to be fixed soon, for obvious reasons.
MrJones4u Posted - Jun 17 2006 : 1:42:24 PM

I'm actually trying to type an enum member identifier of an enum which is defined within a class - so without entering the :: I can't access the enum. Same for stuff in namespaces. Luckly I encounter these type of situation only ever so often. Guys using STL must go nuts...

CTimeline_Occurrence::ERepeatType::eeInterval

as in:
class CTimeline_Occurrence
{
public:
   enum ERepeatMode
   {
      .
      eeInterval,
      .
   }  m_eRepeatMode;

   .
   .
}
feline Posted - Jun 17 2006 : 12:30:02 PM
case=1331

from your description it looks like you are typing the implementation for a class member function. i have been using the refactoring beta long enough now that i never do this

for this specific case using "Create Implementation" should be a very nice work around. however there are still times when you will run into this bug, but hopefully it will be fixed soon.
MrJones4u Posted - Jun 15 2006 : 6:04:50 PM
Jupp....

sure does!

cu,
Michael
feline Posted - Jun 15 2006 : 5:53:42 PM
if you look here:

http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=4772

does this seem to be the same as the first problem described in this thread?

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