mirror of https://github.com/CGAL/cgal
30 lines
520 B
C++
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 */
|