Update mpark::variant implementation to 1.3.0

Fixes building on the latest clang shipping on MacOS
(Apple LLVM version 9.1.0 (clang-902.0.39.1))
This commit is contained in:
Jonathan Hamilton 2018-05-11 11:02:48 -07:00
parent b10bbea393
commit 791c8401c1
2 changed files with 367 additions and 198 deletions

View File

@ -13,7 +13,7 @@
#include <cstddef>
namespace std
namespace mpark
{
struct in_place_t
{
@ -32,6 +32,7 @@ struct in_place_type_t
explicit in_place_type_t() = default;
};
#ifdef MPARK_VARIABLE_TEMPLATES
constexpr in_place_t in_place{};
template <std::size_t I>
@ -39,5 +40,6 @@ constexpr in_place_index_t<I> in_place_index{};
template <typename T>
constexpr in_place_type_t<T> in_place_type{};
#endif
} // namespace std
} // namespace mpark

File diff suppressed because it is too large Load Diff