• Dean Moldovan's avatar
    Add support for boost::variant in C++11 mode · 7918bcc9
    Dean Moldovan authored
    In C++11 mode, `boost::apply_visitor` requires an explicit `result_type`.
    This also adds optional tests for `boost::variant` in C++11/14, if boost
    is available. In C++17 mode, `std::variant` is tested instead.
    7918bcc9
test_stl.cpp 9.08 KB