Utility Rack
|
Test scenarios for overloaded
utility class and function.
More...
#include <variant>
#include <optional>
#include "catch2/catch_test_macros.hpp"
#include "utility/overloaded.hpp"
Typedefs | |
using | var_t = std::variant<double, int, std::string, std::optional<float>> |
Functions | |
int | query_variant (const var_t &v) |
TEST_CASE ("Creating an overloaded function object using template parameter packs", "[overloaded]") | |
Variables | |
constexpr int | double_val = 43 |
constexpr int | int_val = 44 |
constexpr int | string_val = 45 |
constexpr int | optional_val_present = 46 |
constexpr int | optional_val_not_present = 47 |
Test scenarios for overloaded
utility class and function.
Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)