Opened 11 years ago
Closed 11 years ago
#5716 closed Feature Requests (fixed)
Support streaming boost::spirit::info to basic_ostream<wchar_t>
Reported by: | Owned by: | Joel de Guzman | |
---|---|---|---|
Milestone: | To Be Determined | Component: | spirit |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
boost::spirit::info can currently only be streamed to ostream. However, since my code needs to report errors/warnings to std::werr, I need a way to stream boost::spirit::info to wostream to be able to print the failing rule name.
Attachments (2)
Change History (3)
by , 11 years ago
by , 11 years ago
Attachment: | spirit_wide_what.patch added |
---|
Proposed patch to use locale::conv::utf_to_utf to support streaming to ostream with char_type other then char.
comment:1 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
A simple test case demonstrating the problem.