Upgrade to mapbox/variant 1.1.4

This commit is contained in:
Daniel Patterson
2016-12-01 15:44:27 -08:00
parent 20c8ac0272
commit 29b3caf529
44 changed files with 936 additions and 286 deletions
@@ -1,7 +1,6 @@
// @EXPECTED: First type in variant must be default constructible to allow default construction of variant
#include <variant.hpp>
#include <mapbox/variant.hpp>
// Checks that the first type in a variant must be default constructible to
// make the variant default constructible.
@@ -1,7 +1,6 @@
// @EXPECTED: Template parameter type list of variant can not be empty
#include <variant.hpp>
#include <mapbox/variant.hpp>
// Empty type list should not work.
+1 -2
View File
@@ -1,7 +1,6 @@
// @EXPECTED:
#include <variant.hpp>
#include <mapbox/variant.hpp>
int main()
{
+1 -2
View File
@@ -1,7 +1,6 @@
// @EXPECTED: enable_if
#include <variant.hpp>
#include <mapbox/variant.hpp>
int main()
{
+2 -3
View File
@@ -1,7 +1,6 @@
// @EXPECTED:
// @EXPECTED: invalid type in T in `is<T>()` for this variant
#include <variant.hpp>
#include <mapbox/variant.hpp>
int main()
{
@@ -1,7 +1,6 @@
// @EXPECTED: const int
#include <variant.hpp>
#include <mapbox/variant.hpp>
struct mutating_visitor
{
@@ -1,7 +1,6 @@
// @EXPECTED: Variant can not hold reference types
#include <variant.hpp>
#include <mapbox/variant.hpp>
int main()
{