Inherits O.
template<typename V, typename O>
class CGAL::Dispatch_output_iterator< V, O >
The class Dispatch_output_iterator defines an OutputIterator that contains a tuple of output iterators, and dispatches among those based on the type of the value type which is put in it. Other types are also accepted, and the object is discarded in this case. Besides defining assignment for all parameters of V and for a tuple of type V, it is also defined for the types boost::variant<T...> and boost::optional<boost::variant<T...> >, where T... can be a list of arbitrary types.
It also inherits from O, which makes it easy to treat like a tuple.
Parameters
- Template Parameters
-
| V | must be a std::tuple<...> of the types of values to be accepted and dispatched. |
| O | must be a std::tuple<...> of the types of corresponding output iterators. |
- Is Model Of:
OutputIterator
- See also
CGAL::Dispatch_or_drop_output_iterator<V,O>