Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
blaze
math
constraints
MutableDataAccess.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_CONSTRAINTS_MUTABLEDATAACCESS_H_
36
#define _BLAZE_MATH_CONSTRAINTS_MUTABLEDATAACCESS_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <
blaze/math/typetraits/HasMutableDataAccess.h
>
44
45
46
namespace
blaze
{
47
48
//=================================================================================================
49
//
50
// MUST_HAVE_MUTABLE_DATA_ACCESS CONSTRAINT
51
//
52
//=================================================================================================
53
54
//*************************************************************************************************
61
#define BLAZE_CONSTRAINT_MUST_HAVE_MUTABLE_DATA_ACCESS(T) \
62
static_assert( ::blaze::HasMutableDataAccess<T>::value, "Type without mutable data access detected" )
63
//*************************************************************************************************
64
65
66
67
68
//=================================================================================================
69
//
70
// MUST_NOT_HAVE_MUTABLE_DATA_ACCESS CONSTRAINT
71
//
72
//=================================================================================================
73
74
//*************************************************************************************************
81
#define BLAZE_CONSTRAINT_MUST_NOT_HAVE_MUTABLE_DATA_ACCESS(T) \
82
static_assert( !::blaze::HasMutableDataAccess<T>::value, "Type with mutable data access detected" )
83
//*************************************************************************************************
84
85
}
// namespace blaze
86
87
#endif
blaze
Namespace of the Blaze C++ math library.
Definition:
Blaze.h:57
HasMutableDataAccess.h
Header file for the HasMutableDataAccess type trait.
Generated on Wed Aug 24 2016 06:13:38 by
1.8.10