16 #ifndef dealii_table_indices_h 17 #define dealii_table_indices_h 48 "TableIndices objects need to represent at least one index.");
63 template <
typename...
T>
100 template <
class Archive>
102 serialize(Archive &ar,
const unsigned int version);
116 template <
typename...
T>
118 :
indices{
static_cast<std::size_t
>(args)...}
121 std::is_integral<T>::value...>::value,
122 "Not all of the parameters have integral type!");
123 static_assert(
sizeof...(
T) ==
N,
"Wrong number of constructor arguments!");
159 return !(*
this == other);
172 template <
class Archive>
188 operator<<(std::ostream &out, const TableIndices<N> &
indices)
191 for (
unsigned int i = 0; i <
N; ++i)
constexpr bool operator!=(const TableIndices< N > &other) const
#define AssertIndexRange(index, range)
constexpr bool operator==(const TableIndices< N > &other) const
void serialize(Archive &ar, const unsigned int version)
#define DEAL_II_NAMESPACE_CLOSE
VectorType::value_type * end(VectorType &V)
constexpr std::size_t operator[](const unsigned int i) const
#define DEAL_II_NAMESPACE_OPEN
VectorType::value_type * begin(VectorType &V)
constexpr TableIndices()=default
#define DEAL_II_CONSTEXPR