WPILibC++
2019.1.1-beta-4-19-ge1bf623
|
Provides ErrorOr<T> smart pointer. More...
#include "wpi/AlignOf.h"
#include <cassert>
#include <system_error>
#include <type_traits>
#include <utility>
Go to the source code of this file.
Classes | |
class | wpi::ReferenceStorage< T > |
Stores a reference that can be changed. More... | |
class | wpi::ErrorOr< T > |
Represents either an error or a value T. More... | |
Namespaces | |
wpi | |
WPILib C++ utilities (wpiutil) namespace. | |
Functions | |
template<class T , class E > | |
std::enable_if < std::is_error_code_enum< E > ::value||std::is_error_condition_enum < E >::value, bool >::type | wpi::operator== (const ErrorOr< T > &Err, E Code) |
Provides ErrorOr<T> smart pointer.