1// (C) Copyright John Maddock 2019 2 3// Use, modification and distribution are subject to the 4// Boost Software License, Version 1.0. (See accompanying file 5// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 7// See http://www.boost.org/libs/config for more information. 8 9// MACRO: BOOST_NO_CXX17_HDR_VARIANT 10// TITLE: C++17 header <variant> unavailable 11// DESCRIPTION: The standard library does not supply C++17 header <variant> 12 13#include <variant> 14 15namespace boost_no_cxx17_hdr_variant { 16 17int test() 18{ 19 using std::variant; 20 using std::visit; 21 using std::holds_alternative; 22 using std::get; 23 using std::get_if; 24 using std::monostate; 25 using std::bad_variant_access; 26 using std::variant_size; 27 using std::variant_alternative; 28 using std::variant_npos; 29 return 0; 30} 31 32} 33