[libcxx-commits] [PATCH] D117606: [libcxx][test] Portably test that `{w, }format_context` is a specialization of `basic_format_context`

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 18 15:05:40 PST 2022


Quuxplusone accepted this revision as: Quuxplusone.
Quuxplusone added a comment.

Seems uncontroversial to me.



================
Comment at: libcxx/test/std/utilities/format/format.formatter/format.context/types.compile.pass.cpp:110-113
+template <class Context, class charT>
+constexpr bool is_basic_format_context_specialization = false;
+template <class It, class charT>
+constexpr bool is_basic_format_context_specialization<std::basic_format_context<It, charT>, charT> = true;
----------------
Primarily just to rename the lowercase template parameter `charT`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117606/new/

https://reviews.llvm.org/D117606



More information about the libcxx-commits mailing list