- Deprecate Filtered_exact (in doc and code).

This commit is contained in:
Sylvain Pion 2006-01-28 22:20:02 +00:00
parent 08ea450d0d
commit c6c5593813
3 changed files with 21 additions and 3 deletions

View File

@ -1,4 +1,7 @@
26 January Andreas Fabri
28 January 2006 Sylvain Pion
- Deprecate Filtered_exact (in doc and code).
26 January 2006 Andreas Fabri
- Replaced __PRETTY_FUNCTION__ with CGAL_PRETTY_FUNCTION
21 January 2006 Sylvain Pion

View File

@ -5,6 +5,12 @@
\ccDefinition
NOTE : The functionality provided by \ccc{Filtered_exact<CT,ET>}
is superseeded by \ccc{Filtered_kernel}, hence the use of
\ccc{Filtered_exact<CT,ET>} is deprecated. We recommend that
users update their code as soon as possible, as we may not guarantee
proper functionning of \ccc{Filtered_exact<CT,ET>} in the future.
The class \ccc{Filtered_exact<CT,ET>} is a wrapper type for the number
type \ccc{CT}, with the difference

View File

@ -119,9 +119,18 @@ public:
typedef typename Number_type_traits<CT>::Has_exact_ring_operations
Has_exact_ring_operations;
Filtered_exact () {}
Filtered_exact ()
{
bool FILTERED_EXACT_IS_DEPRECATED__USE_FILTERED_KERNEL_INSTEAD;
}
Filtered_exact (const CT & ct)
: _value(ct) { update_cache(); }
: _value(ct)
{
update_cache();
bool FILTERED_EXACT_IS_DEPRECATED__USE_FILTERED_KERNEL_INSTEAD;
}
template <class NT>
Filtered_exact (const NT & num, const NT & den) // For Quotient<>.
: _value(num, den) { update_cache(); }