Permalink
Browse files

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))
  • Loading branch information...
JonnyH committed May 11, 2018
1 parent b10bbea commit 791c8401c162036f5138bba53ddcbf3db5ad14ab
Showing with 367 additions and 198 deletions.
  1. +4 −2 Source/Core/Common/Compat/in_place.h
  2. +363 −196 Source/Core/Common/Compat/variant
@@ -13,7 +13,7 @@
#include <cstddef>
namespace std
namespace mpark
{
struct in_place_t
{
@@ -32,12 +32,14 @@ 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>
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
Oops, something went wrong.

0 comments on commit 791c840

Please sign in to comment.