[make_shared] How to use boost::make_shared with more than 9 arguments
10 Oct
2014
10 Oct
'14
11:11 a.m.
I could patch my local copy with several more overloads (I need up to 12 parameters) but, is there a better way? I cannot change the constructor of the class to group parameters (as recommended in StackOverflow). Of course this is for C++03 Regards
10 Oct
10 Oct
1:27 p.m.
New subject: [make_shared] How to use boost::make_shared with more than 9 arguments
I could patch my local copy with several more overloads (I need up to 12 parameters) but, is there a better way?
I cannot change the constructor of the class to group parameters (as recommended in StackOverflow).
Of course this is for C++03
The arguments for make_shared are defined manually/explicitly: http://www.boost.org/doc/libs/1_55_0/boost/smart_ptr/make_shared_object.hpp so one can't configure their maximal number.
3684
Age (days ago)
3684
Last active (days ago)
1 comments
2 participants
participants (2)
-
dariomt@gmail.com
-
Igor R