Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
blaze
util
Byte.h
Go to the documentation of this file.
1
//=================================================================================================
20
//=================================================================================================
21
22
#ifndef _BLAZE_UTIL_BYTE_H_
23
#define _BLAZE_UTIL_BYTE_H_
24
25
26
//*************************************************************************************************
27
// Includes
28
//*************************************************************************************************
29
30
#include <
blaze/util/constraints/Integral.h
>
31
#include <
blaze/util/constraints/Size.h
>
32
33
34
namespace
blaze {
35
36
//=================================================================================================
37
//
38
// TYPE DEFINITION
39
//
40
//=================================================================================================
41
42
//*************************************************************************************************
48
typedef
unsigned
char
byte
;
49
//*************************************************************************************************
50
51
52
53
54
//=================================================================================================
55
//
56
// COMPILE TIME CONSTRAINT
57
//
58
//=================================================================================================
59
60
//*************************************************************************************************
62
namespace
check {
63
64
// Constraint on the byte data type
65
BLAZE_CONSTRAINT_MUST_BE_INTEGRAL_TYPE
(
byte
);
66
BLAZE_CONSTRAINT_MUST_HAVE_SIZE
(
byte
, 1 );
67
68
}
// namespace check
70
//*************************************************************************************************
71
72
}
// namespace blaze
73
74
#endif
Generated on Sun Jan 20 2013 08:14:38 by
1.8.3