From ab53af46600140551ea429e95011d09142fb09ea Mon Sep 17 00:00:00 2001 From: Krystian Stasiowski Date: Fri, 18 Oct 2019 22:19:17 -0400 Subject: [PATCH] Added a deduction guide --- include/boost/fixed_string/fixed_string.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/boost/fixed_string/fixed_string.hpp b/include/boost/fixed_string/fixed_string.hpp index d1e5728..0163181 100644 --- a/include/boost/fixed_string/fixed_string.hpp +++ b/include/boost/fixed_string/fixed_string.hpp @@ -2260,6 +2260,18 @@ template< fixed_string to_fixed_string(Integer x); +//------------------------------------------------------------------------------ +// +// Deduction Guides +// +//------------------------------------------------------------------------------ + +#if __cplusplus >= 201703L +template +fixed_string(CharT(&)[N]) -> + fixed_string>; +#endif + } // fixed_string } // boost