KVIrc 5.2.4
Developer APIs
Namespaces | Macros | Functions
KviCaster.h File Reference
#include <typeinfo>

Go to the source code of this file.

Namespaces

namespace  KviCast
 

Macros

#define KVI_CAST_FUNC   __func__
 
#define KVI_DYNAMIC(expr, expr2)
 
#define STRINGIFY(x)   STRINGIFY_(x)
 
#define STRINGIFY_(x)   #x
 

Functions

template<typename T , typename P >
KviCast::dynamic (P p, const char *file, const char *func, const char *expr)
 

Macro Definition Documentation

◆ KVI_CAST_FUNC

#define KVI_CAST_FUNC   __func__

◆ KVI_DYNAMIC

#define KVI_DYNAMIC (   expr,
  expr2 
)
Value:
KviCast::dynamic<expr>(expr2, \
__FILE__ ":" STRINGIFY(__LINE__), \
#expr)
#define STRINGIFY(x)
Definition KviCaster.h:28
#define KVI_CAST_FUNC
Definition KviCaster.h:33

◆ STRINGIFY

#define STRINGIFY (   x)    STRINGIFY_(x)

◆ STRINGIFY_

#define STRINGIFY_ (   x)    #x