Subject: [Boost-bugs] [Boost C++ Libraries] #5764: filesystem/v3 path string method missing "template qualifier"
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-09 11:13:52
#5764: filesystem/v3 path string method missing "template qualifier"
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: bemandawes
Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
Version: Boost 1.47.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
When compiling filesystem lib on a QNX6.3.2 host (gcc-3.3.5) there is an
error when calling path template method "string" because of missing
template method qualifier.
Here is the patch:
--- path.hpp (revision 73619)
+++ path.hpp (working copy)
@@ -592,7 +592,7 @@
operator<<(std::basic_ostream<Char, Traits>& os, const path& p)
{
return os
- << boost::io::quoted(p.string<std::basic_string<Char> >(),
static_cast<Char>('&'));
+ << boost::io::quoted(p.template string<std::basic_string<Char> >(),
static_cast<Char>('&'));
}
template <class Char, class Traits>
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5764> 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:07 UTC