All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros
Size.h File Reference

Constraint on the size of a data type. More...

#include <blaze/util/constraints/ConstraintTest.h>
#include <blaze/util/Suffix.h>
#include <blaze/util/typetraits/HasSize.h>

Go to the source code of this file.

Namespaces

namespace  blaze
 Namespace of the Blaze C++ math library.
 

Macros

#define BLAZE_CONSTRAINT_MUST_HAVE_SIZE(T, S)
 Constraint on the size of a data type.In case the type T doesn't have a size of S bytes, a compilation error is created. More...
 
#define BLAZE_CONSTRAINT_MUST_NOT_HAVE_SIZE(T, S)
 Constraint on the size of a data type.In case the type T has a size of S bytes, a compilation error is created. More...
 
#define BLAZE_CONSTRAINT_MUST_HAVE_1_BYTE(T)
 Constraint on the size of a data type.In case the type T doesn't have a size of exactly 1 byte, a compilation error is created. More...
 
#define BLAZE_CONSTRAINT_MUST_NOT_HAVE_1_BYTE(T)
 Constraint on the size of a data type.In case the type T has a size of exactly 1 byte, a compilation error is created. More...
 
#define BLAZE_CONSTRAINT_MUST_HAVE_2_BYTES(T)
 Constraint on the size of a data type.In case the type T doesn't have a size of exactly 2 bytes, a compilation error is created. More...
 
#define BLAZE_CONSTRAINT_MUST_NOT_HAVE_2_BYTES(T)
 Constraint on the size of a data type.In case the type T has a size of exactly 2 bytes, a compilation error is created. More...
 
#define BLAZE_CONSTRAINT_MUST_HAVE_4_BYTES(T)
 Constraint on the size of a data type.In case the type T doesn't have a size of exactly 4 bytes, a compilation error is created. More...
 
#define BLAZE_CONSTRAINT_MUST_NOT_HAVE_4_BYTES(T)
 Constraint on the size of a data type.In case the type T has a size of exactly 4 bytes, a compilation error is created. More...
 
#define BLAZE_CONSTRAINT_MUST_HAVE_8_BYTES(T)
 Constraint on the size of a data type.In case the type T doesn't have a size of exactly 8 bytes, a compilation error is created. More...
 
#define BLAZE_CONSTRAINT_MUST_NOT_HAVE_8_BYTES(T)
 Constraint on the size of a data type.In case the type T has a size of exactly 8 bytes, a compilation error is created. More...
 

Detailed Description

Constraint on the size of a data type.

Copyright (C) 2011 Klaus Iglberger - All Rights Reserved

This file is part of the Blaze library. This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with a special exception for linking and compiling against the Blaze library, the so-called "runtime exception"; see the file COPYING. If not, see http://www.gnu.org/licenses/.