17 #if __has_include(<optional>) 19 #elif __has_include(<experimental/optional>) 20 # include <experimental/optional> 23 using std::experimental::nullopt;
24 using std::experimental::nullopt_t;
25 using std::experimental::optional;
27 using std::experimental::make_optional;
30 std::ostream &operator<<(std::ostream &os, optional<T>
const &opt) {
31 return opt ? (os << *opt) : (os <<
"nullopt");
37 # error C++ Standard libary has no optional type Definition: ColorToLabelMap.h:27