ultimatepp/bazaar/plugin/earcut/earcut.hpp
cxl ebbc917bba bazaar: plugin/earcut
git-svn-id: svn://ultimatepp.org/upp/trunk@12728 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-02-02 09:11:31 +00:00

21 lines
329 B
C++

#pragma once
#include <algorithm>
#include <cassert>
#include <cmath>
#include <memory>
#include <vector>
namespace mapbox {
namespace util {
template <std::size_t I, typename T> struct nth {
inline static typename std::tuple_element<I, T>::type
get(const T& t) { return std::get<I>(t); };
};
}
namespace detail {