rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
cpp_version.hpp
1// SPDX-License-Identifier: GPL-3.0-only
2
3#pragma once
4
10#if defined(_MSVC_LANG)
11# define REXLIB_CPLUSPLUS (_MSVC_LANG)
12#else
13# define REXLIB_CPLUSPLUS (__cplusplus)
14#endif
15
16#define REXLIB_CPLUSPLUS11 (201103L)
17#define REXLIB_CPLUSPLUS14 (201402L)
18#define REXLIB_CPLUSPLUS17 (201703L)
19#define REXLIB_CPLUSPLUS20 (202002L)
20#define REXLIB_CPLUSPLUS23 (999999L) /*TBD*/
21
22#define REXLIB_HAS_CPP11 (REXLIB_CPLUSPLUS >= REXLIB_CPLUSPLUS11)
23#define REXLIB_HAS_CPP14 (REXLIB_CPLUSPLUS >= REXLIB_CPLUSPLUS14)
24#define REXLIB_HAS_CPP17 (REXLIB_CPLUSPLUS >= REXLIB_CPLUSPLUS17)
25#define REXLIB_HAS_CPP20 (REXLIB_CPLUSPLUS >= REXLIB_CPLUSPLUS20)
26#define REXLIB_HAS_CPP23 (REXLIB_CPLUSPLUS >= REXLIB_CPLUSPLUS23)