Drake
drake_optional.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "drake/thirdParty/boost/tcbrindle_cpp17_headers/stx/optional.hpp"
5 
11 
12 namespace drake {
13 
14 template <typename T>
15 using optional = stx::optional<T>;
16 
17 constexpr auto nullopt = stx::nullopt;
18 
19 } // namespace drake
Definition: automotive_demo.cc:88
This header provides a std::make_unique implementation to be used when the compiler does not support ...
stx::optional< T > optional
Definition: drake_optional.h:15
constexpr auto nullopt
Definition: drake_optional.h:17