Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13063: error C2668: 'boost::next' : ambiguous call to overloaded function
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-07-31 11:06:25
#13063: error C2668: 'boost::next' : ambiguous call to overloaded function
-------------------------------+------------------------------
Reporter: Roxana | Owner: jeffrey.hellrung
Type: Bugs | Status: new
Milestone: To Be Determined | Component: iterator
Version: Boost 1.63.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+------------------------------
Comment (by Michel Morin):
You need to describe:
- the function call where the ambiguity occurs
- the type of the argument (to the above function call)
The compiler version and the Boost version would be useful for us too.
That said, I guess that the error is caused by an unqualified call to
`next`
(i.e. without any `some_namespace::` qualification before `next`).
Explicitly qualifying the call would resolve the problem:
- if you intend to call `boost::next`, then qualify the call with
`boost::`;
- if you intend to call `std::next`, then qualify the call with `std::`.
-- Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13063#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-07-31 11:08:59 UTC