Simplify mapped_type_constant

This commit is contained in:
Victor Zverovich
2024-09-02 06:41:44 -07:00
parent 4986b4c0ef
commit 9f29345ea0
3 changed files with 20 additions and 26 deletions

View File

@@ -84,7 +84,7 @@ class dynamic_format_arg_store
template <typename T> struct need_copy {
static constexpr detail::type mapped_type =
detail::mapped_type_constant<T, Context>::value;
detail::mapped_type_constant<T, char_type>::value;
enum {
value = !(detail::is_reference_wrapper<T>::value ||