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
 Feature Requests
 C++11 using rename support
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Predelnik
Senior Member

Russia
37 Posts

Posted - Jul 02 2014 :  09:55:19 AM  Show Profile  Reply with Quote
New C++11 usage of 'using' keyword to implement aliases for types is a little bit prettier version of typedef. You can read that it has equivavelent behavior with typedef here:
http://stackoverflow.com/questions/10747810/what-is-the-difference-between-typedef-and-using-in-c11

But while type aliases done by 'typedef' can easily be renamed with VAX, it sadly does not seem to be working for 'using'. I think it would be useful and not the hardest thing to implement. :)

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 02 2014 :  11:08:11 PM  Show Profile  Reply with Quote
We are planning to implement this:

case=79779
Go to Top of Page

rcyr
Starting Member

Canada
1 Posts

Posted - Aug 03 2015 :  11:05:58 AM  Show Profile  Reply with Quote
Anything new regarding this topic? As of August 3rd 2015 I updated VAX to latest version and the refactoring feature is not yet available.
The new C++ 11 "using" keyword is quite useful as aliases can be created for non-specialized templates. For instance:

template <typename T>
using PointArray = std::vector<cv::Point_<T>>; // T could be specialized as int, float or double (OpenCV point type); this cannot be done with "typedef" keyword in a generic manner

Augmented Reality, Virtual Reality, Computer Vision
www.cimmi.qc.ca
Go to Top of Page

azdroppy
New Member

Cyprus
8 Posts

Posted - Sep 02 2015 :  04:53:39 AM  Show Profile  Reply with Quote
The lack of this functionality really stumbles modern C++ projects refactoring.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 02 2015 :  4:24:45 PM  Show Profile  Reply with Quote
Thank you for the feedback. This issue has a high priority so hopefully will be implemented before long.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Nov 20 2015 :  4:07:40 PM  Show Profile  Reply with Quote
case=87178 is fixed in build 2083
(case=79779 morphed into case=87178)
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