#include <common.hpp>
Public Member Functions | |
operator bool () const | |
T & | operator* () |
T const & | operator* () const |
T * | operator-> () |
T const * | operator-> () const |
optional () | |
optional (nullopt_t) | |
optional (T const &type) | |
Private Attributes | |
bool | is_valid_ |
T | type_ |
Lightweight optional implementation which requires T
to have a default constructor.
TODO: Replace with std::optional once Sophus moves to c++17.
Definition at line 185 of file common.hpp.
|
inline |
Definition at line 187 of file common.hpp.
|
inline |
Definition at line 189 of file common.hpp.
|
inline |
Definition at line 191 of file common.hpp.
|
inlineexplicit |
Definition at line 193 of file common.hpp.
|
inline |
Definition at line 210 of file common.hpp.
|
inline |
Definition at line 205 of file common.hpp.
|
inline |
Definition at line 200 of file common.hpp.
|
inline |
Definition at line 195 of file common.hpp.
|
private |
Definition at line 217 of file common.hpp.
|
private |
Definition at line 216 of file common.hpp.