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
 1724: Create Implementation wrong function created
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

drac
Senior Member

Germany
49 Posts

Posted - May 13 2009 :  04:41:20 AM  Show Profile  Reply with Quote
Take this piece of code:


#include <map>
#include <string>

class Test
{
public:
	typedef std::map<int, std::string> IntToString;
	std::pair<bool, IntToString> GetMap();
};

int main()
{
}


After issuing "Create Implementation" the following code resulted:


std::pair<bool, IntToString> Test::GetMap()
{
}


instead of


std::pair<bool, Test::IntToString> Test::GetMap()
{
}


Cheers!




Edited by - drac on May 13 2009 04:41:43 AM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 13 2009 :  6:36:07 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=26956
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Mar 16 2016 :  12:13:33 AM  Show Profile  Reply with Quote
case=26956 is fixed in build 2093
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