利用偏特化来实现:
C:\work\hchx\HchxKernel\PublicAPI\3rdParty_bak\fmt\include\core.h
C:\work\hchx\HchxKernel\PublicAPI\3rdParty_bak\fmt\include\format.h
// Checks whether T is a container with contiguous storage.
template <typename T> struct is_contiguous : std::false_type {};
template <typename Char>
struct is_contiguous<std::basic_string<Char>> : std::true_type {};
using memory_buffer = basic_memory_buffer<char>;
template <typename T, size_t SIZE, typename Allocator>
struct is_contiguous<basic_memory_buffer<T, SIZE, Allocator>> : std::true_type {
};