Skip to content

Commit bac52a5

Browse files
committed
Edit layout.hpp
1 parent e9acc63 commit bac52a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/boost/multi/detail/layout.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ struct extents_t : boost::multi::detail::tuple_prepend_t<index_extension, typena
213213
std::enable_if_t< // NOLINT(modernize-use-constraints) TODO(correaa)
214214
(sizeof...(Exts) >= 2) && (sizeof...(Exts) == static_cast<std::size_t>(D))
215215
&& std::conjunction_v<std::is_convertible<Exts, index_extension>...> // NOLINT(modernize-type-traits) not a fold-expr: MSVC 19.21 (VS2019 16.1) miscompiles `(... && ...)` here with C2059
216-
&& !std::conjunction_v<std::is_integral<Exts>...>,
216+
&& !std::conjunction_v<std::is_integral<Exts>...>, // NOLINT(modernize-type-traits) for C++20
217217
int> = 0
218218
>
219219
BOOST_MULTI_HD constexpr extents_t(Exts... exts) // NOLINT(google-explicit-constructor,hicpp-explicit-conversions,cppcoreguidelines-explicit-constructor,misc-explicit-constructor) allow terse syntax

0 commit comments

Comments
 (0)