Adobe.com
Contents Suites Classes Class Index Member Index

ai::CompileTimeChecker< bool > Struct Template Reference

Provides compile-time errors that are similar to run-time assertions. More...

#include <AITypes.h>

List of all members.

Public Member Functions

 CompileTimeChecker (...)

Detailed Description

template<bool>
struct ai::CompileTimeChecker< bool >

Provides compile-time errors that are similar to run-time assertions.

This is an implementation of Andrei Alexandrescu's CompileTimeChecker. Use the AI_STATIC_CHECK macro to instantiate a CompileTimeChecker object. For example:

AI_STATIC_CHECK(sizeof(wchar_t) == sizeof(unsigned short), wchar_t_size_does_not_match_unsigned_short_size);


Constructor & Destructor Documentation

template<bool >
ai::CompileTimeChecker< bool >::CompileTimeChecker (   ...  ) 

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


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2014 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks