|
Boost Users : |
Subject: [Boost-users] Boost 1.60 causes argument-dependent-lookup issues.
From: John M. Dlugosz (mpbecey7gu_at_[hidden])
Date: 2015-12-24 03:09:43
See http://stackoverflow.com/questions/34449254/how-is-argument-dependent-lookup-looking-here
I found that code that has worked OK on previous versions of Boost (and does not have this
issues with 1.59) is getting unexpected ambiguities in 1.60. Using boost::totally_ordered
et al. (even as a private base) appears to be polluting the namespace in which the client
class appears.
Something like this:
class C : boost::totally_ordered<C> { ⯠} ;
using std::make_shared;
â®
auto p= make_shared<C>(args);
this complains that it finds boost::make_shared via argument-dependent lookup, as well as
the expected std::make_shared.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net