28#ifndef INCLUDED_MDDS_GLOBAL_HPP
29#define INCLUDED_MDDS_GLOBAL_HPP
47#define MDDS_ASCII(literal) literal, sizeof(literal) - 1
57#define MDDS_N_ELEMENTS(name) sizeof(name) / sizeof(name[0])
60#define MDDS_DEPRECATED __attribute__((deprecated))
61#elif defined(_MSC_VER)
62#define MDDS_DEPRECATED __declspec(deprecated)
64#define MDDS_DEPRECATED
67#ifndef MDDS_LOOP_UNROLLING
68#define MDDS_LOOP_UNROLLING 1
71#ifndef MDDS_USE_OPENMP
72#define MDDS_USE_OPENMP 0
75#if defined(__AVX__) || defined(__AVX2__)
91 virtual const char* what()
const noexcept
129using bool_constant = std::integral_constant<bool, B>;
140 static y_type test(
typename U::value_type);
142 static n_type test(...);
145 static constexpr bool value =
sizeof(test<T>(0)) ==
sizeof(y_type);
148template<
typename T,
typename IsConst>
154 using type =
typename std::add_const<T>::type;
163template<
typename T,
bool Const>
166template<
typename T,
typename IsConst>
172 using type =
typename T::const_iterator;
178 using type =
typename T::iterator;
182constexpr bool invalid_static_int()
187template<
typename T,
typename =
void>
193struct is_complete<T, std::void_t<decltype(sizeof(T) != 0)>> : std::true_type
Definition: global.hpp:135
Definition: global.hpp:84
Definition: global.hpp:122
Definition: global.hpp:101
Definition: global.hpp:108
Definition: global.hpp:115
Definition: global.hpp:149
Definition: global.hpp:167
Definition: global.hpp:189