38 template <
class... Args,
39 typename std::enable_if<
sizeof...(Args) == Dim
40 && (std::is_convertible_v<Args, PRegion<T>> && ...),
42 KOKKOS_FUNCTION
NDRegion(
const Args&... args);
44 KOKKOS_INLINE_FUNCTION
NDRegion(
const NDRegion<T, Dim>& nr);
46 KOKKOS_INLINE_FUNCTION NDRegion<T, Dim>& operator=(
const NDRegion<T, Dim>& nr);
48 KOKKOS_INLINE_FUNCTION
const PRegion<T>& operator[](
unsigned d)
const;
50 KOKKOS_INLINE_FUNCTION PRegion<T>& operator[](
unsigned d);
52 KOKKOS_INLINE_FUNCTION NDRegion<T, Dim>& operator+=(
const T t);
54 KOKKOS_INLINE_FUNCTION NDRegion<T, Dim>& operator-=(
const T t);
56 KOKKOS_INLINE_FUNCTION NDRegion<T, Dim>& operator*=(
const T t);
58 KOKKOS_INLINE_FUNCTION NDRegion<T, Dim>& operator/=(
const T t);
60 KOKKOS_INLINE_FUNCTION
bool empty()
const;
64 PRegion<T> regions_m[Dim];