Class

CGAL::Coercion_traits<A,B>

Definition

An instance of Coercion_traits<A,B> reflects the type coercion of the types A and B, it is symmetric in the two template arguments.

#include <CGAL/Coercion_traits.h>

Types

Coercion_traits<A,B>::Are_explicit_interoperable
Tag indicating whether the two types A and B are a model of ExplicitInteroperable
This is either CGAL::Tag_true or CGAL::Tag_false.


Coercion_traits<A,B>::Are_implicit_interoperable
Tag indicating whether the two types A and B are a model of ImplicitInteroperable
This is either CGAL::Tag_true or CGAL::Tag_false.


Coercion_traits<A,B>::Type
The coercion type of A and B.
In case A and B are not ExplicitInteroperable this is undefined.


Coercion_traits<A,B>::Cast
A model of the AdaptableFunctor concept, providing the conversion of A or B to Type.
In case A and B are not ExplicitInteroperable this is undefined.

See Also

ExplicitInteroperable
ImplicitInteroperable