mirror of
https://github.com/boostorg/static_string.git
synced 2025-07-29 20:17:35 +02:00
Added a deduction guide
This commit is contained in:
committed by
GitHub
parent
fbc0de2528
commit
ab53af4660
@ -2260,6 +2260,18 @@ template<
|
||||
fixed_string<detail::max_digits(sizeof(Integer))>
|
||||
to_fixed_string(Integer x);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
//
|
||||
// Deduction Guides
|
||||
//
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
template<std::size_t N, typename CharT>
|
||||
fixed_string(CharT(&)[N]) ->
|
||||
fixed_string<N, CharT, std::char_traits<CharT>>;
|
||||
#endif
|
||||
|
||||
} // fixed_string
|
||||
} // boost
|
||||
|
||||
|
Reference in New Issue
Block a user