Project
Loading...
Searching...
No Matches
qconfig_internal_helpers.h File Reference

Go to the source code of this file.

Namespaces

namespace  qConfig
 

Macros

#define QCONFIG_SETTING(name, type)
 
#define QCONFIG_SETTING_TEMPLATE(name)
 

Detailed Description

Author
David Rohr

Definition in file qconfig_internal_helpers.h.

Macro Definition Documentation

◆ QCONFIG_SETTING

#define QCONFIG_SETTING (   name,
  type 
)
Value:
struct qon_mxcat3(q, name, _t) { \
type v; \
constexpr qon_mxcat3(q, name, _t)(type s) : v(s) {} \
}; \
constexpr qon_mxcat3(q, name, _t) name(type v) { return (qon_mxcat3(q, name, _t)(v)); }
const GLdouble * v
Definition glcorearb.h:832
GLuint const GLchar * name
Definition glcorearb.h:781
GLint GLint GLsizei GLint GLenum GLenum type
Definition glcorearb.h:275
#define qon_mxcat3(a, b, c)

Definition at line 20 of file qconfig_internal_helpers.h.

◆ QCONFIG_SETTING_TEMPLATE

#define QCONFIG_SETTING_TEMPLATE (   name)
Value:
template <typename T> \
struct qon_mxcat3(q, name, _t) { \
T v; \
constexpr qon_mxcat3(q, name, _t)(const T& s) : v(s) {} \
}; \
template <typename T> \
constexpr qon_mxcat3(q, name, _t)<T> name(T v) \
{ \
return (qon_mxcat3(q, name, _t) < T > (v)); \
}

Definition at line 27 of file qconfig_internal_helpers.h.