1
0
forked from boostorg/core

MSVC warning workaround for dynamic_extent

This commit is contained in:
Glen Fernandes
2021-10-31 21:14:40 -04:00
parent 633a47f85b
commit d2e897fd60

View File

@ -15,7 +15,7 @@ Distributed under the Boost Software License, Version 1.0.
namespace boost {
constexpr std::size_t dynamic_extent = -1;
constexpr std::size_t dynamic_extent = static_cast<std::size_t>(-1);
template<class T, std::size_t E = dynamic_extent>
class span;