cgal/Algebraic_foundations/doc/Algebraic_foundations/Concepts/FromDoubleConstructible.h

30 lines
520 B
C++

/*!
\ingroup PkgAlgebraicFoundationsAlgebraicStructuresConcepts
\cgalConcept
A model of the concept `FromDoubleConstructible` is required
to be constructible from the type `double`.
In case the type is a model of `RealEmbeddable` too, for any double d
the identity: `d == CGAL::to_double(T(d))`, is guaranteed.
*/
class FromDoubleConstructible {
public:
/// \name Creation
/// @{
/*!
conversion constructor from double.
*/
FromDoubleConstructible(const double& d);
/// @}
}; /* end FromDoubleConstructible */