HighFive 2.10.1
HighFive - Header-only C++ HDF5 interface
Loading...
Searching...
No Matches
H5Inspector_decl.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstddef>
4#include <numeric>
5#include <functional>
6#include <vector>
7
8namespace HighFive {
9
10inline size_t compute_total_size(const std::vector<size_t>& dims) {
11 return std::accumulate(dims.begin(), dims.end(), size_t{1u}, std::multiplies<size_t>());
12}
13
14template <typename T>
15using unqualified_t = typename std::remove_const<typename std::remove_reference<T>::type>::type;
16
17
18namespace details {
19
20template <typename T>
21struct type_helper;
22
23template <typename T>
24struct inspector;
25
26} // namespace details
27} // namespace HighFive
Definition H5_definitions.hpp:22
typename std::remove_const< typename std::remove_reference< T >::type >::type unqualified_t
Definition H5Inspector_decl.hpp:15
size_t compute_total_size(const std::vector< size_t > &dims)
Definition H5Inspector_decl.hpp:10