Dune Core Modules (unstable)

base.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
2// SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception
3#ifndef DUNE_COMMON_SIMD_BASE_HH
4#define DUNE_COMMON_SIMD_BASE_HH
5
92namespace Dune {
93 namespace Simd {
94
97
112 namespace Overloads {
113
116
118
181 template<unsigned i, bool = true>
182 struct ADLTag;
183
184 template<unsigned i>
185 struct ADLTag<i> : ADLTag<i-1> {};
186
187 template<>
188 struct ADLTag<0> {};
189
191
195 template<class V, class SFINAETag = void>
196 struct ScalarType;
197
199
203 template<class S, class V, class SFINAETag = void>
204 struct RebindType;
205
207
211 template<class V, class SFINAETag = void>
212 struct LaneCount;
213
215
216 } // namespace Overloads
217 } // namespace Simd
218} // namespace Dune
219
220#endif // DUNE_COMMON_SIMD_BASE_HH
Dune namespace.
Definition: alignedallocator.hh:13
Tag used to force late-binding lookup in Dune::Simd::Overloads.
Definition: base.hh:182
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 21, 23:30, 2024)