Skip to content

Commit

Permalink
kokkos#254: remove std:: in front of size_t
Browse files Browse the repository at this point in the history
  • Loading branch information
nmm0 committed Apr 20, 2023
1 parent dccd95f commit 0dd9d9b
Show file tree
Hide file tree
Showing 13 changed files with 218 additions and 218 deletions.
6 changes: 3 additions & 3 deletions include/experimental/__p0009_bits/default_accessor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include "macros.hpp"

#include <cstddef> // std::size_t
#include <cstddef> // size_t

namespace std {
namespace experimental {
Expand All @@ -43,12 +43,12 @@ struct default_accessor {

MDSPAN_INLINE_FUNCTION
constexpr data_handle_type
offset(data_handle_type p, std::size_t i) const noexcept {
offset(data_handle_type p, size_t i) const noexcept {
return p + i;
}

MDSPAN_FORCE_INLINE_FUNCTION
constexpr reference access(data_handle_type p, std::size_t i) const noexcept {
constexpr reference access(data_handle_type p, size_t i) const noexcept {
return p[i];
}

Expand Down
4 changes: 2 additions & 2 deletions include/experimental/__p0009_bits/dynamic_extent.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@

#include "macros.hpp"

#include <cstddef> // std::size_t
#include <cstddef> // size_t
#include <limits> // numeric_limits

namespace std {
namespace experimental {

_MDSPAN_INLINE_VARIABLE constexpr auto dynamic_extent = std::numeric_limits<std::size_t>::max();
_MDSPAN_INLINE_VARIABLE constexpr auto dynamic_extent = std::numeric_limits<size_t>::max();

} // end namespace experimental
} // namespace std
Expand Down
Loading

0 comments on commit 0dd9d9b

Please sign in to comment.