mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
parse_context -> format_parse_context
This commit is contained in:
parent
b7b8548559
commit
982ee5c699
@ -918,6 +918,10 @@ class basic_parse_context : private ErrorHandler {
|
||||
FMT_CONSTEXPR ErrorHandler error_handler() const { return *this; }
|
||||
};
|
||||
|
||||
typedef basic_parse_context<char> format_parse_context;
|
||||
typedef basic_parse_context<wchar_t> wformat_parse_context;
|
||||
|
||||
// DEPRECATED!
|
||||
typedef basic_parse_context<char> parse_context;
|
||||
typedef basic_parse_context<wchar_t> wparse_context;
|
||||
|
||||
|
@ -228,7 +228,9 @@ struct custom_context {
|
||||
|
||||
bool called;
|
||||
|
||||
fmt::parse_context parse_context() { return fmt::parse_context(""); }
|
||||
fmt::format_parse_context parse_context() {
|
||||
return fmt::format_parse_context("");
|
||||
}
|
||||
void advance_to(const char *) {}
|
||||
};
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Formatting library for C++ - core tests
|
||||
// Formatting library for C++ - locale tests
|
||||
//
|
||||
// Copyright (c) 2012 - present, Victor Zverovich
|
||||
// All rights reserved.
|
||||
|
Loading…
Reference in New Issue
Block a user