Upgrade to mapbox/variant 1.1.4
This commit is contained in:
@@ -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,7 +1,6 @@
|
||||
|
||||
// @EXPECTED:
|
||||
|
||||
#include <variant.hpp>
|
||||
#include <mapbox/variant.hpp>
|
||||
|
||||
int main()
|
||||
{
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
|
||||
// @EXPECTED: enable_if
|
||||
|
||||
#include <variant.hpp>
|
||||
#include <mapbox/variant.hpp>
|
||||
|
||||
int main()
|
||||
{
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user