Added a deduction guide

This commit is contained in:
Krystian Stasiowski
2019-10-18 22:19:17 -04:00
committed by GitHub
parent fbc0de2528
commit ab53af4660

View File

@ -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