OnixS C++ SGX Titan OUCH Trading Handler  1.2.0
API documentation
TypeTraitsVerification.h File Reference
#include <boost/static_assert.hpp>
#include <boost/type_traits/is_pod.hpp>

Go to the source code of this file.

Macros

#define ONIXS_SGXTITAN_OUCH_ENSURE_IS_POD(Type)
 
#define ONIXS_SGXTITAN_OUCH_ENSURE_TYPE_SIZE(Type, Size)
 

Macro Definition Documentation

#define ONIXS_SGXTITAN_OUCH_ENSURE_IS_POD (   Type)
Value:
( \
boost::is_pod<Type>::value, \
#Type " must be a plain data type. " \
);
BOOST_STATIC_ASSERT_MSG(sizeof(Int8)==(1),"Size of ""Int8"" must be ""1"". ")

Definition at line 27 of file TypeTraitsVerification.h.

#define ONIXS_SGXTITAN_OUCH_ENSURE_TYPE_SIZE (   Type,
  Size 
)
Value:
( \
sizeof(Type) == (Size), \
"Size of " #Type " must be " #Size ". " \
);
BOOST_STATIC_ASSERT_MSG(sizeof(Int8)==(1),"Size of ""Int8"" must be ""1"". ")

Definition at line 35 of file TypeTraitsVerification.h.