Skip to content

Commit

Permalink
Merge pull request #306 from kokkos/MSVC-layout-stride-fixes
Browse files Browse the repository at this point in the history
Msvc layout stride fixes
  • Loading branch information
dalg24 authored Jan 4, 2024
2 parents 25c35d6 + 10cea0e commit 0af9208
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/experimental/__p0009_bits/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ static_assert(_MDSPAN_CPLUSPLUS >= MDSPAN_CXX_STD_14, "mdspan requires C++14 or
#endif

#ifndef MDSPAN_CONDITIONAL_EXPLICIT
# if MDSPAN_HAS_CXX_20 && !defined(_MDSPAN_COMPILER_MSVC)
# if MDSPAN_HAS_CXX_20
# define MDSPAN_CONDITIONAL_EXPLICIT(COND) explicit(COND)
# else
# define MDSPAN_CONDITIONAL_EXPLICIT(COND)
Expand Down
2 changes: 1 addition & 1 deletion include/experimental/__p0009_bits/layout_stride.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ struct layout_stride {
: private detail::__no_unique_address_emulation<
detail::__compressed_pair<
Extents,
std::array<typename Extents::index_type, Extents::rank()>
detail::possibly_empty_array<typename Extents::index_type, Extents::rank()>
>
>
#endif
Expand Down

0 comments on commit 0af9208

Please sign in to comment.