id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 4940,Problem with construcotr of file_descriptor_sink class.,anonymous,Jonathan Turkanis,"{{{ $ cat test.cpp #include #include using namespace boost::iostreams; class fdstream : public stream { public: fdstream(int fd): stream(fd) {} }; $ gcc test.cpp -o test /usr/include/boost/iostreams/device/file_descriptor.hpp: In constructor 'boost::iostreams::file_descriptor_sink::file_descriptor_sink(const Path&, std::_Ios_Openmode) [with Path = int]': /usr/include/boost/iostreams/stream.hpp:130: instantiated from 'boost::iostreams::stream::stream(U100&, typename boost::disable_if, void>::type*) [with U100 = int, Device = boost::iostreams::file_descriptor_sink, Tr = std::char_traits, Alloc = std::allocator]' test.cpp:9: instantiated from here /usr/include/boost/iostreams/device/file_descriptor.hpp:276: error: call of overloaded 'path(const int&)' is ambiguous /usr/include/boost/iostreams/detail/path.hpp:111: note: candidates are: boost::iostreams::detail::path::path(const std::wstring&) /usr/include/boost/iostreams/detail/path.hpp:58: note: boost::iostreams::detail::path::path(const boost::iostreams::detail::path&) /usr/include/boost/iostreams/detail/path.hpp:47: note: boost::iostreams::detail::path::path(const char*) /usr/include/boost/iostreams/detail/path.hpp:44: note: boost::iostreams::detail::path::path(const std::string&) }}}",Bugs,closed,To Be Determined,iostreams,Boost 1.45.0,Problem,invalid,,osmano807@…