summaryrefslogtreecommitdiff
path: root/include/mbgl/util/optional.hpp
blob: abec02dca943a986f8e5b1c9fa30cfbaf455e42d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include <experimental/optional>

namespace mbgl {

template <typename T>
using optional = std::experimental::optional<T>;

using nullopt_t = std::experimental::nullopt_t;
constexpr nullopt_t nullopt = std::experimental::nullopt;

} // namespace mbgl