2
0
mirror of https://github.com/boostorg/variant.git synced 2026-01-19 04:42:16 +00:00
Gregor Jasny dd728220b0 static_visitor: Make destructor public
otherwise in C++ 17 mode Clang 8 will complain about the
protected destructor:

```
main.cpp:16:33: error: temporary of type 'boost::static_visitor<>' has protected destructor
    boost::apply_visitor(output{}, v);
                                ^
/usr/local/opt/boost/include/boost/variant/static_visitor.hpp:53:5: note: declared protected here
    ~static_visitor() = default;
    ^
```

See also discussion in https://reviews.llvm.org/D53860
2019-03-09 15:25:03 +01:00
2019-01-17 13:00:51 +03:00
2016-07-12 21:28:40 +03:00
2019-01-17 13:00:51 +03:00
2019-01-17 13:00:51 +03:00
2003-05-28 08:05:16 +00:00
2019-01-05 22:37:45 +03:00

Boost.Variant

Boost.Variant, part of collection of the Boost C++ Libraries. It is a safe, generic, stack-based discriminated union container, offering a simple solution for manipulating an object from a heterogeneous set of types in a uniform manner.

Test results

@ Build Tests coverage More info
Develop branch: Build Status Build status Coverage Status details...
Master branch: Build Status Build status Coverage Status details...

Open Issues

License

Distributed under the Boost Software License, Version 1.0.

Description
Mirrored via gitea-mirror
Readme 1.8 MiB
Languages
C++ 99.6%
CMake 0.2%
HTML 0.2%