Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
include
Utilities
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
14
namespace
model
15
{
16
17
template
<
typename
T>
18
struct
TypeTraits
19
{
20
23
24
TypeTraits
()
25
{
26
assert(0 &&
"YOU MUST DEFINE A TypeTraits SPECIALIZATION FOR YOUR CLASS."
);
27
}
28
};
29
30
}
31
#endif
32
33
model
Definition
DD_converter.dox:2
model::TypeTraits::TypeTraits
TypeTraits()
A helper struct for predefinition of types in model classes.
Definition
TypeTraits.h:24
Generated by
1.15.0