Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4460: boost::iostreams::file_descriptor fd(0); fails with "ambiguous overloaded path(...)"
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-07-21 16:24:24
#4460: boost::iostreams::file_descriptor fd(0); fails with "ambiguous overloaded
path(...)"
-----------------------------------+----------------------------------------
Reporter: ps@⦠| Owner: turkanis
Type: Bugs | Status: new
Milestone: Boost 1.44.0 | Component: iostreams
Version: Boost Release Branch | Severity: Problem
Resolution: | Keywords:
-----------------------------------+----------------------------------------
Comment (by ps@â¦):
sorry for the bad formatting, here it is a bit better:
{{{
/home/staff/ps/include/boost-
release/boost/iostreams/device/file_descriptor.hpp: In constructor
âboost::iostreams::file_descriptor::file_descriptor(const Path&,
std::_Ios_Openmode) [with Path = int]â:
test.cpp:6: instantiated from here
/home/staff/ps/include/boost-
release/boost/iostreams/device/file_descriptor.hpp:91: error: call of
overloaded âpath(const int&)â is ambiguous
/home/staff/ps/include/boost-release/boost/iostreams/detail/path.hpp:111:
note: candidates are: boost::iostreams::detail::path::path(const
std::wstring&) <near match>
/home/staff/ps/include/boost-release/boost/iostreams/detail/path.hpp:58:
note: boost::iostreams::detail::path::path(const
boost::iostreams::detail::path&) <near match>
/home/staff/ps/include/boost-release/boost/iostreams/detail/path.hpp:47:
note: boost::iostreams::detail::path::path(const char*)
<near match>
/home/staff/ps/include/boost-release/boost/iostreams/detail/path.hpp:44:
note: boost::iostreams::detail::path::path(const
std::string&) <near match>
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4460#comment:1> 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-02-16 18:50:03 UTC