|
wxMaxima
|
Small C++ standard-library compatibility shims. More...
#include <thread>#include <version>#include <algorithm>#include <ranges>Go to the source code of this file.
Data Structures | |
| struct | stop_token |
| struct | stop_source |
| class | jthread |
Functions | |
| template<typename R , typename T > | |
| constexpr bool | ranges::contains (R &&r, const T &value) |
Small C++ standard-library compatibility shims.
wxMaxima targets C++20 but aims to keep building on toolchains a few years behind. This header provides minimal fall-backs for std features that may be missing there: std::jthread / std::stop_token / std::stop_source, and std::ranges::contains. These were historically carried in Version.h; they live here now because they have nothing to do with the version and are pure, CMake-independent C++ (so this header is a plain committed file, not generated).