UIQ Technology
Symbian OS Library

UIQ 3.1 SDK        UIQ developer portal

[Index] [Spacer] [Previous] [Next]



Location: LbsCommon.h

POSITION_COMPILE_TIME_ASSERT

POSITION_COMPILE_TIME_ASSERT (aExpr) typedef char assert_type[aExpr ? 1 : -1]

Description

A compile time assert macro. The aExpr parameter must evaluate to an integer value at compile time. eg. sizeof(TTime) == KSizeOfTInt64 If aExpr is false, the compiler generates an error. If aExpr is true, the compilation continues, and use of this macro will not result in any extra object code.

Parameters

aExpr