13 Jul
2013
13 Jul
'13
9:55 a.m.
On 12/07/13 10:41, Pieter wrote:
LS,
I have noticed that using Boost.Operators has a side-effect which I can't explain. I am using std::make_shared as a default, however, some of the boost libraries I use pull in boost::make_shared as well.
When using some class T2 derived from one of the boost.operators classes, this causes MSVC2010 to not compile when invoking make_shared<T2> as the compiler can no longer resolve between the two overloaded versions of make_shared for some reason.
Welcome to ADL. To avoid ADL issues, fully qualify all names.