boost::text::tailored_collation_table
// In header: <boost/text/collation_table.hpp> collation_table tailored_collation_table(string_view tailoring, string_view tailoring_filename = "", parser_diagnostic_callback report_errors = parser_diagnostic_callback(), parser_diagnostic_callback report_warnings = parser_diagnostic_callback());
Returns a collation table tailored using the tailoring specified in tailoring
.
If report_errors
and/or report_warnings
are provided, they will be used to report parse warnings and errors, respectively.
Note | |
---|---|
The |
Throws: |
parse_error when a parse error is encountered, or tailoring_error when some aspect of the requested tailoring cannot be satisfied. |