This fixes #3938 by adding a formatter partial specialization that covers all std::basic_string types, such as std::pmr::string.
Additionally, this adds the old-school allocator member types to mock_allocator in order to make GCC 4.8 happy. If GCC 4.8 support is removed in the future, these member types can be removed as they are the defaults of allocator_traits.
This fixes #3938 by adding a
formatter
partial specialization that covers allstd::basic_string
types, such asstd::pmr::string
.Additionally, this adds the old-school allocator member types to
mock_allocator
in order to make GCC 4.8 happy. If GCC 4.8 support is removed in the future, these member types can be removed as they are the defaults ofallocator_traits
.