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

#include <nonstd/expected.hpp>

namespace mbgl {

template <class T, class E>
using expected = nonstd::expected<T, E>;

template <class E>
using unexpected = nonstd::unexpected_type<E>;

} // namespace mbgl