WPILibC++ 2025.2.1
|
This file contains library features backported from future STL versions. More...
#include <optional>
#include <type_traits>
Go to the source code of this file.
Classes | |
struct | wpi::remove_cvref< T > |
Namespaces | |
namespace | wpi |
Foonathan namespace. | |
Functions | |
template<typename T , typename Function > | |
auto | wpi::transformOptional (const std::optional< T > &O, const Function &F) -> std::optional< decltype(F(*O))> |
template<typename T , typename Function > | |
auto | wpi::transformOptional (std::optional< T > &&O, const Function &F) -> std::optional< decltype(F(*std::move(O)))> |
template<typename Enum > | |
constexpr std::underlying_type_t< Enum > | wpi::to_underlying (Enum E) |
Returns underlying integer value of an enum. | |
This file contains library features backported from future STL versions.
These should be replaced with their STL counterparts as the C++ version LLVM is compiled with is updated.