diff --git a/Packages/Interval_arithmetic/include/CGAL/Arithmetic_filter.h b/Packages/Interval_arithmetic/include/CGAL/Arithmetic_filter.h index 4166e89a3d5..0a6e3012094 100644 --- a/Packages/Interval_arithmetic/include/CGAL/Arithmetic_filter.h +++ b/Packages/Interval_arithmetic/include/CGAL/Arithmetic_filter.h @@ -41,6 +41,7 @@ CGAL_BEGIN_NAMESPACE // CT = construction type // ET = exact type (used for exact predicate evaluation) // (Interval_nt_advanced) = used for filtering. +// Cache_t = caching type (either Filter_Cache or No_Filter_Cache) // // 2 conversion functions must be provided: // - convert_to (CT) @@ -81,13 +82,15 @@ class Filtered_exact void update_cache() { compute_cache (_cache); } + // Private data members. + CT _value; Cache_t _cache; public: Filtered_exact () {} - Filtered_exact (const Fil & fil) + Filtered_exact (const Filtered_exact & fil) : _value(fil._value), _cache(fil._cache) { } template Filtered_exact (const NT & nt)