Meta-function that takes a boost::variant type and tries to minimize it by doing the following:
More...
#include <compress_variant.hpp>
template<typename Variant>
struct boost::geometry::compress_variant< Variant >
Meta-function that takes a boost::variant type and tries to minimize it by doing the following:
- if there's any duplicate types, remove them
- if the result is a variant of one type, turn it into just that type
- Example
typedef variant<int, float, int, long> variant_type;
typedef mpl::vector<int, float, long> result_types;
typedef variant<int, int, int> one_type_variant_type;
The documentation for this struct was generated from the following file: