Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template write_formatted_message

boost::parser::write_formatted_message

Synopsis

// In header: <boost/parser/error_handling_fwd.hpp>


template<typename Iter, typename Sentinel> 
  std::ostream & 
  write_formatted_message(std::ostream & os, std::wstring_view filename, 
                          Iter first, Iter it, Sentinel last, 
                          std::string_view message, 
                          int64_t preferred_max_line_length = 80, 
                          int64_t max_after_caret = 40);

Description

Writes a formatted message (meaning prefixed with the file name, line, and column number) to os. This overload is Windows-only.


PrevUpHomeNext