A macro which provides compile-time assertion tests, causing the compiler to issue a useful message msg if the assertion fails. The message must be a legal C++ identifier though it can start with a number. You also must place it somewhere where code can be compiled as it relies on a scope to remove a temporarily created variable (which is optimised away on release builds). If you want it without the scope (eg; as a member variable) use FXSTATIC_ASSERT2(). On C++0x compilers, this uses the new static_assert() feature. Definition at line 79 of file FXGenericTools.h. Referenced by FX::Generic::TL::dynamicAtHelper::Impl< fnspeclist, typelist, instance >::getArray(), FX::FXIPCChannel::invokeMsgHandler(), FX::FXIPCChannelIndirector::sendMsg(), FX::FXIPCChannel::sendMsg(), and FX::TnFXSQLDB::toSQL92Type().
|