must_be_same_size Struct Template Reference
[Constraints Utility Library]

#include <stlsoft/util/constraints.hpp>

List of all members.


Detailed Description

template<typename T1, typename T2>
struct stlsoft::must_be_same_size< T1, T2 >

Constrains two types to be of the same size.

Parameters:
T1 The first type
T2 The second type
It may be used as follows:
  stlsoft::must_be_same_size<long, long>(); // Ok
  stlsoft::must_be_same_size<char, long>(); // Compile error!
  stlsoft::must_be_same_size<long, char>(); // Compile error!

The documentation for this struct was generated from the following file:

Generated on Thu Jun 10 08:59:02 2010 for STLSoft by  doxygen 1.5.6