Skip to content

Commit

Permalink
std::string_view range constructor will be explicit in libstdc++ 11.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lastique committed Sep 8, 2022
1 parent 9613ccf commit e2d2472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/filesystem/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
#if !defined(BOOST_NO_CXX17_HDR_STRING_VIEW) && \
(\
(defined(BOOST_DINKUMWARE_STDLIB) && defined(_HAS_CXX23) && (_HAS_CXX23 != 0) && defined(_MSVC_STL_UPDATE) && (_MSVC_STL_UPDATE < 202208L)) || \
(defined(BOOST_LIBSTDCXX_VERSION) && (BOOST_LIBSTDCXX_VERSION < 120200) && (BOOST_CXX_VERSION > 202002L))\
(defined(BOOST_LIBSTDCXX_VERSION) && (BOOST_LIBSTDCXX_VERSION < 110400 || (BOOST_LIBSTDCXX_VERSION >= 120000 && BOOST_LIBSTDCXX_VERSION < 120200)) && (BOOST_CXX_VERSION > 202002L))\
)
// Indicates that std::string_view has implicit constructor from ranges that was present in an early C++23 draft (N4892).
// This was later rectified by marking the constructor explicit (https://wg21.link/p2499). Unfortunately, some compilers
Expand Down

0 comments on commit e2d2472

Please sign in to comment.