20 Aug
2018
20 Aug
'18
8:26 a.m.
On 08/20/18 03:42, Peter Dimov via Boost wrote:
But in general, there's no practical way to support mixed standards unless we change something in the way we do things, and I don't know what. If you compile library A with C++03 and library B with C++11 and both use shared_ptr, in a program that uses both there will be an ODR violation because shared_ptr will use std::atomic when present (in B) and will not use it when not (in A).
Then the only solution I see is to build separate binaries for different C++ versions.