Skip to content

Commit 5879222

Browse files
committed
Fix static assert message
1 parent 6ec7298 commit 5879222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/decimal/format.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ struct formatter<T, CharT>
218218
using namespace boost::decimal::detail;
219219

220220
using CharType = FormatContext::char_type;
221-
static_assert(is_formattable_character_type_v<CharType>, "This is an unsupported character type. Only the following can be used: char, char8_t, char16_t, char32_t, or wchar_t");
221+
static_assert(is_formattable_character_type_v<CharType>, "This is an unsupported character type. Only char and wchar_t can be used with std::format");
222222

223223
std::array<char, 128> buffer {};
224224
auto buffer_front = buffer.data();

0 commit comments

Comments
 (0)