13 Apr
2018
13 Apr
'18
11:16 a.m.
On 13 April 2018 at 01:12, Martijn Otto via Boost-users < boost-users@lists.boost.org> wrote:
Wouldn't it be an option to test for the existence of std::make_shared. This could be done using SFINAE. If it exists we can alias the functionality from std:: into boost:: and if not we use the boost implementation.
To make it less hairy the header could also be generated b2 before building.
This way we maintain compatibility with older and competely unsupported compilers running on unsupported operating systems (why are we doing that again?) without causing interoperability trouble for others.
All of the above already exists: https://eldiener.github.io/cxx_dual/doc/html/index.html#cxxd.introduction degski