$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [make_shared] How to use boost::make_shared with more than 9 arguments
From: Igor R (boost.lists_at_[hidden])
Date: 2014-10-10 09:27:27
> 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.