Opened 11 years ago

Closed 11 years ago

#5764 closed Bugs (fixed)

filesystem/v3 path string method missing "template qualifier"

Reported by: anonymous Owned by: Beman Dawes
Milestone: To Be Determined Component: filesystem
Version: Boost 1.47.0 Severity: Problem
Keywords: Cc:

Description

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>

Change History (1)

comment:1 by Beman Dawes, 11 years ago

Resolution: fixed
Status: newclosed

(In [73795]) Fix #5764 - add template qualified; reported to be required on QNX6.3.2 host (gcc-3.3.5)

Note: See TracTickets for help on using tickets.