Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Bad suggestion for 'vector<shared_ptr<T>>'

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
EugeneKozlov Posted - Apr 10 2016 : 5:22:37 PM
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 }}
2   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Jul 18 2016 : 10:40:29 PM
case=96425 is fixed in build 2107.
accord Posted - Apr 11 2016 : 12:25:23 AM
I am seeing the same effect here. Thank you for the clear description.

case=96425

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