Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 :: is converted to . when typing method definition

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
KirillMueller Posted - Mar 28 2006 : 07:51:14 AM
When a header contains a method with parameters of a template type that uses namespaces (p.ex. std::list<std::string>), the double-colon in the template parameter is converted to a period when typing the method definition.

- Open VS .NET 2003
- Create a new file "foo.cc"
- Type the following code up to the opening paren:

#include <iostream>
#include <list>

class foo {
public:
void test(std::list<std::string>& l);
};

void foo::test(

-> VA.X suggests "std::list<std.string>& l" as parameter list

I think this was not happening before "case=923" has been fixed, but then, a default value of 5.0 was being converted to 5::0 in the method definition.

I am using VA.X build 1442.


Kind regards,

Kirill
5   L A T E S T    R E P L I E S    (Newest First)
jpizzi Posted - Mar 30 2006 : 10:10:42 PM
I am able to reproduce it with the given example. Still falls under

case=923
KirillMueller Posted - Mar 30 2006 : 04:23:44 AM
I'll put the tool-tip issues to a new thread. Were you able to reproduce the "method definition" problem?
rhummer Posted - Mar 29 2006 : 09:50:47 AM
It was probably before the 14xx version possibly, some internals underwent a pretty big rewrite.
KirillMueller Posted - Mar 29 2006 : 06:08:13 AM
You're right, I can still reproduce case=923. (I thought this has been fixed already.) Sorry for the wrong hint. Still, I think I can remember a version of VA.X where this problem did not occur -- but I don't know which version it was.

In the tool tips double-colons get converted to dots as well. But this is not as disturbing as the wrong conversion in the autocompletion.
rhummer Posted - Mar 28 2006 : 10:01:03 AM
case=923 has not been implemented in a release yet. But should be soon.

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