ae2f_docs
Loading...
Searching...
No Matches
LangVer.h File Reference

Language version for C/C++. More...

#include "./LangVer.auto.h"

Go to the source code of this file.

Macros

#define ae2f_stdcc_v   0L
 Standard C++ version.

.
#define ae2f_stdc_v   ((ae2f_LangVer_C) * 100L)
 Standard C version, or at least cmake intended.
#define __ae2f_stdcheck_C(v)
#define __ae2f_stdcheck_CC(v)

Detailed Description

Language version for C/C++.

  • Uses __cplusplus and __STDC_VERSION__ for language version.
  • If not defined, Uses generated ae2f_LangVer_C, ae2f_LangVer_CC to detect language version.
  • Versions will be the year as the version * 100 as long which used to represent the month (as minour version)

Definition in file LangVer.h.

Macro Definition Documentation

◆ __ae2f_stdcheck_C

#define __ae2f_stdcheck_C ( v)
Value:
(ae2f_stdc_v >= (v))
#define ae2f_stdc_v
Standard C version, or at least cmake intended.
Definition LangVer.h:43

Definition at line 49 of file LangVer.h.

◆ __ae2f_stdcheck_CC

#define __ae2f_stdcheck_CC ( v)
Value:
(ae2f_stdcc_v >= (v))
#define ae2f_stdcc_v
Standard C++ version. .
Definition LangVer.h:34

Definition at line 50 of file LangVer.h.

◆ ae2f_stdc_v

#define ae2f_stdc_v   ((ae2f_LangVer_C) * 100L)

Standard C version, or at least cmake intended.

Definition at line 43 of file LangVer.h.

◆ ae2f_stdcc_v

#define ae2f_stdcc_v   0L

Standard C++ version.

.

  • When it is compiled as standard C, this will be 0.
  • When it is not compiled as standard C, this will be decided by cmake.

@macro __ae2f_stdcheck_C

Check if it hits over specific standard C version.

Parameters
va standard C version to check

@macro __ae2f_stdcheck_CC

Check if it hits over specific standard C++ version.

Parameters
va standard C++ version to check

Definition at line 34 of file LangVer.h.