API Guides
>
ConceptRT 3.x
Home
Pages
ConceptRT API
Examples
Macros
is_of_compatible_type
ConceptRT Utils
»
Utilities
Detailed Description
Macros
#define
is_of_compatible_type
(type, expression)
Helper to find out if an expression return type is equal to a given type.
More...
Macro Definition Documentation
#define is_of_compatible_type
(
type,
expression
)
Helper to find out if an expression return type is equal to a given type.
Parameters
type
The type
expression
The expression
Usage :
1
if (is_of_compatible_type(&ISerializable, GetObjectB()))
2
{
3
// Expression GetObjectB() return something compatible with ISerializable.
4
}
Last documentation update : 27 October 2016 - Copyright © 2015 Objectis. All rights reserved.