Merge pull request #6818 from JonnyH/WIP/variant-update

Update mpark::variant implementation to 1.3.0
This commit is contained in:
Mat M 2018-05-11 15:36:23 -04:00 committed by GitHub
commit b938e15699
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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