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
 :: is converted to . when typing method definition
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

KirillMueller
Ketchup Master

72 Posts

Posted - Mar 28 2006 :  07:51:14 AM  Show Profile  Reply with Quote
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

rhummer
Tomato Guru

USA
527 Posts

Posted - Mar 28 2006 :  10:01:03 AM  Show Profile  Reply with Quote
case=923 has not been implemented in a release yet. But should be soon.

Tools Engineer - Raven Software
VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64


Edited by - rhummer on Mar 28 2006 10:03:53 AM
Go to Top of Page

KirillMueller
Ketchup Master

72 Posts

Posted - Mar 29 2006 :  06:08:13 AM  Show Profile  Reply with Quote
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.
Go to Top of Page

rhummer
Tomato Guru

USA
527 Posts

Posted - Mar 29 2006 :  09:50:47 AM  Show Profile  Reply with Quote
It was probably before the 14xx version possibly, some internals underwent a pretty big rewrite.

Tools Engineer - Raven Software
VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64

Go to Top of Page

KirillMueller
Ketchup Master

72 Posts

Posted - Mar 30 2006 :  04:23:44 AM  Show Profile  Reply with Quote
I'll put the tool-tip issues to a new thread. Were you able to reproduce the "method definition" problem?
Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Mar 30 2006 :  10:10:42 PM  Show Profile  Reply with Quote
I am able to reproduce it with the given example. Still falls under

case=923

Joe Pizzi
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