Modify

Ticket #5764 (closed Bugs: fixed)

Opened 3 years ago

Last modified 3 years ago

filesystem/v3 path string method missing "template qualifier"

Reported by: anonymous Owned by: bemandawes
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>

Attachments

Change History

comment:1 Changed 3 years ago by bemandawes

  • Status changed from new to closed
  • Resolution set to fixed

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.