From 64690d3a9790279ff5c004a733d88f6e7a548898 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 24 Nov 2018 10:49:48 -0800 Subject: [PATCH] Add context_base::arg() --- include/fmt/core.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 4b067c6b..238a1f1b 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1017,7 +1017,8 @@ class context_base { public: basic_parse_context &parse_context() { return parse_context_; } - basic_format_args args() const { return args_; } + basic_format_args args() const { return args_; } // DEPRECATED! + basic_format_arg arg(unsigned id) const { return args_.get(id); } internal::error_handler error_handler() { return parse_context_.error_handler();