TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
gui_platform.h
Go to the documentation of this file.
1#pragma once
2
3// Check for C++20 support
4#if __cplusplus >= 202002L|| (defined(_MSVC_LANG) && _MSVC_LANG >= 202002L)
5#define TACHYON_SUPPORT_CPP20
6#else
7#undef TACHYON_SUPPORT_CPP20
8#endif
9
10// Feature detection for C++20 iterator concepts / ranges
11#if defined(_HAS_CXX20) || defined(__cpp_lib_ranges) || (__cplusplus >= 202002L)
12#define TACHYON_HAS_CPP20_ITERATORS 1
13#else
14#define TACHYON_HAS_CPP20_ITERATORS 0
15#endif
16
17#ifdef TACHYON_SUPPORT_CPP20
18#include <source_location>
19#endif