B2BITS FIX Antenna HFT  1.0.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros
B2BITS_CompilerDefines.h File Reference

Contains compiler macros. More...

+ This graph shows which files directly or indirectly include this file:

Macros

#define _B2B_MAKE_STRING(ARG)   #ARG
 This macro converts any value to string. More...
 
#define _B2B_NO_DEPRECATED_TEXT   ". Define B2B_NO_DEPRECATED to disable warning."
 
#define B2B_DELETE_FUNCTION
 B2B_DELETE_FUNCTION is a macro that marks function as deleted. More...
 
#define B2B_DEPRECATED(MSG)
 The deprecated declaration lets you specify particular forms of function overloads as deprecated, whereas the pragma form applies to all overloaded forms of a function name. More...
 
#define B2B_FORCE_INLINE   inline
 The B2B_FORCE_INLINE macro overrides the cost/benefit analysis and relies on the judgment of the programmer instead. More...
 
#define B2B_LIKELY(expr)   (expr)
 The B2B_LIKELY macro defines most possible hive of execution flow. More...
 
#define B2B_MAKE_STRING(ARG)   _B2B_MAKE_STRING(ARG)
 This macro converts value of the macro to string. More...
 
#define B2B_NOEXCEPT
 B2B_NOEXCEPT is a macro that marks function as noexcept. More...
 
#define B2B_NORETURN
 This attribute tells the compiler that a function does not return. More...
 
#define B2B_OVERRIDE
 The override context-sensitive keyword indicates that a member of a type must override a base class or a base interface member. More...
 
#define B2B_SEALED
 B2B_SEALED is a context sensitive macro that indicates a virtual member cannot be overridden, or a type cannot be used as a base type. More...
 
#define B2B_STRING_CONCAT(STR1, STR2)   _B2B_MAKE_STRING(STR1 ## STR2)
 Convert two arguments to string and concatenates them. More...
 
#define B2B_THROW(ReturnValue, ThrowClause)   ThrowClause
 
#define B2B_TLS   THREAD_LOCAL_STORAGE_IS_NOT_IMPLEMENTED
 
#define B2B_UNLIKELY(expr)   (expr)
 The B2B_LIKELY macro defines less possible hive of execution flow. More...
 
#define B2B_USE_ARG(arg)   (void)&arg
 Macro to fix warning about unused variable/parameter. More...
 
#define FAKE_RETURN(value)
 

Detailed Description

Contains compiler macros.

Macro Definition Documentation

#define _B2B_MAKE_STRING (   ARG)    #ARG

This macro converts any value to string.

#define _B2B_NO_DEPRECATED_TEXT   ". Define B2B_NO_DEPRECATED to disable warning."
#define B2B_DELETE_FUNCTION

B2B_DELETE_FUNCTION is a macro that marks function as deleted.

#define B2B_DEPRECATED (   MSG)

The deprecated declaration lets you specify particular forms of function overloads as deprecated, whereas the pragma form applies to all overloaded forms of a function name.

#define B2B_FORCE_INLINE   inline

The B2B_FORCE_INLINE macro overrides the cost/benefit analysis and relies on the judgment of the programmer instead.

#define B2B_LIKELY (   expr)    (expr)

The B2B_LIKELY macro defines most possible hive of execution flow.

if B2B_LIKELY ( someBoolExpression ) {
doSomething();
} else {
doSomethingElse();
}
#define B2B_MAKE_STRING (   ARG)    _B2B_MAKE_STRING(ARG)

This macro converts value of the macro to string.

#define B2B_NOEXCEPT

B2B_NOEXCEPT is a macro that marks function as noexcept.

#define B2B_NORETURN

This attribute tells the compiler that a function does not return.

As a consequence, the compiler knows that the code following a call to a B2B_NORETURN function is unreachable.

#define B2B_OVERRIDE

The override context-sensitive keyword indicates that a member of a type must override a base class or a base interface member.

If there is no member to override, the compiler generates an error.

#define B2B_SEALED

B2B_SEALED is a context sensitive macro that indicates a virtual member cannot be overridden, or a type cannot be used as a base type.

#define B2B_STRING_CONCAT (   STR1,
  STR2 
)    _B2B_MAKE_STRING(STR1 ## STR2)

Convert two arguments to string and concatenates them.

#define B2B_THROW (   ReturnValue,
  ThrowClause 
)    ThrowClause
#define B2B_TLS   THREAD_LOCAL_STORAGE_IS_NOT_IMPLEMENTED
#define B2B_UNLIKELY (   expr)    (expr)

The B2B_LIKELY macro defines less possible hive of execution flow.

if B2B_LIKELY ( someBoolExpression ) {
doSomething();
} else {
doSomethingElse();
}
#define B2B_USE_ARG (   arg)    (void)&arg
#define FAKE_RETURN (   value)