Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 std::exception does not have string constructor

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
Boris2 Posted - Mar 11 2013 : 05:12:17 AM
Visual Assist generates code like this:

throw std::exception("The method or operation is not implemented.");

According to C++ standard, std::exception does not have relevant constructor. I know I can change this myself in Visual Assist settings, but would be nice if you changed the default to something like this:

throw std::logic_error("The method or operation is not implemented.");

Some of us are actually writing cross platform code
4   L A T E S T    R E P L I E S    (Newest First)
support Posted - Jun 03 2013 : 1:55:39 PM
case=72946 is implemented in build 1940

New installs will have updated snippet. For existing installs, delete the "Refactor Create From Usage Method Body" snippet and it will be recreated with the updated code.
feline Posted - Mar 13 2013 : 4:11:36 PM
case=72946 is the case number in our internal bug tracker. This thread should be updated when this is done, and case numbers are also referenced on the history of changes page:

http://www.wholetomato.com/support/history.asp

I hope this helps.
Boris2 Posted - Mar 13 2013 : 09:32:35 AM
Thanks.

What "case=72946" refers to?
feline Posted - Mar 11 2013 : 7:02:59 PM
A good point, thank you for this, I have put in a request to change the default value:

case=72946

For now, you can simply edit the VA Snippet "Refactor Create From Usage Method Body" for C++, and the change will take effect straight away

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