Commit e2cf3550 authored by Dominik Charousset's avatar Dominik Charousset

ostream support for cow_tuples in variant visitor

parent 18be6d10
......@@ -51,6 +51,10 @@ struct optional_any_tuple_visitor {
inline result_type operator()(T& value) const {
return make_any_tuple(std::move(value));
}
template<typename... Ts>
inline result_type operator()(cow_tuple<Ts...>& value) const {
return any_tuple{std::move(value)};
}
};
template<typename... Ts>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment