This file contains the LocalView class, a class that allows to wrap any contiguous raw data into a view which is accessible with multiple indices.
More...
#include <cstddef>
#include <type_traits>
#include "atlas/array/ArrayUtil.h"
#include "atlas/array/ArrayViewDefs.h"
#include "atlas/array/helpers/ArraySlicer.h"
#include "atlas/library/config.h"
Go to the source code of this file.
|
| atlas |
| Contains all atlas classes and methods.
|
|
| atlas::array |
| Contains classes to operate with multidimensional arrays.
|
|
|
#define | ENABLE_IF_NON_CONST |
|
#define | ENABLE_IF_CONST_WITH_NON_CONST(T) |
|
This file contains the LocalView class, a class that allows to wrap any contiguous raw data into a view which is accessible with multiple indices.
◆ ENABLE_IF_CONST_WITH_NON_CONST
#define ENABLE_IF_CONST_WITH_NON_CONST |
( |
|
T | ) |
|
Value:template <typename T, \
typename std::enable_if<( std::is_const<Value>::value && is_non_const_value_type<T>::value ), \
int>::type* = nullptr>
◆ ENABLE_IF_NON_CONST
#define ENABLE_IF_NON_CONST |
Value:template <bool EnableBool = true, \
typename std::enable_if<( !std::is_const<Value>::value && EnableBool ), int>::type* = nullptr>