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
 Bad suggestion for 'vector<shared_ptr<T>>'
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

EugeneKozlov
Senior Member

Russia
37 Posts

Posted - Apr 10 2016 :  5:22:37 PM  Show Profile  Reply with Quote
Hello!

Smart suggestions for shared_ptr (and, probably, unique_ptr) don't work properly in the following case:
std::vector<std::shared_ptr<int>> vec;
vec[0] = {{ suggests std::vector<std::make_shared<int>>() }}
vec = {{ suggests the same, maybe not always }}

accord
Whole Tomato Software

United Kingdom
3167 Posts

Posted - Apr 11 2016 :  12:25:23 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=96425
Go to Top of Page

sean
Whole Tomato Software

USA
2642 Posts

Posted - Jul 18 2016 :  10:40:29 PM  Show Profile  Reply with Quote
case=96425 is fixed in build 2107.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000