Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
TypeTraits.h
Go to the documentation of this file.
1/* This file is part of MoDELib, the Mechanics Of Defects Evolution Library.
2 *
3 *
4 * MoDELib is distributed without any warranty under the
5 * GNU General Public License (GPL) v2 <http://www.gnu.org/licenses/>.
6 */
7
8
9#ifndef model_TYPETRAITS_H_
10#define model_TYPETRAITS_H_
11
12#include <assert.h>
13
14namespace model
15{
16
17 template <typename T>
19 {
20
23
25 {
26 assert(0 && "YOU MUST DEFINE A TypeTraits SPECIALIZATION FOR YOUR CLASS.");
27 }
28 };
29
30}
31#endif
32
33
TypeTraits()
A helper struct for predefinition of types in model classes.
Definition TypeTraits.h:24