compile_time_assert< T > Struct Template Reference
List of all members.
Detailed Description
template<typename T>
struct compile_time_assert< T >
Compile-time assertion trick.
If the assertion fails you will get a compile error. The problem is that you will also get an unused variable complaint if warnings are turned on, so we make a bogus reference to the named structure.
This is used by macros
- ASSERT_FITS_IN_LONGLONG
- ASSERT_FITS_IN_POINTER which are enabled only if built with some debug level 1 or above (e.g., configure --with-debug-level1) This enables us to continue to build a --disable-lp64 system even though it's known yet fully supported (not safe).
Definition at line 598 of file w_base.h.
The documentation for this struct was generated from the following file:
Generated on Mon Jan 2 15:14:04 2012 for Shore Storage Manager by
1.4.7