Changed names in kernel rebind/base mechanism

This commit is contained in:
Michael Hoffmann 2003-05-07 20:19:27 +00:00
parent 0f2bed55ed
commit f66f79d0cb
5 changed files with 9 additions and 6 deletions

View File

@ -40,7 +40,7 @@ struct Cartesian_base_ref_count
struct Handle { typedef Handle_for<T> type; };
template < typename Kernel2 >
struct base { typedef Cartesian_base_ref_count<FT_, Kernel2> other; };
struct Base { typedef Cartesian_base_ref_count<FT_, Kernel2> Type; };
// TODO: cleanup (use Rational_traits<> instead)
static FT make_FT(const RT & num, const RT& denom) { return num/denom;}

View File

@ -40,7 +40,7 @@ struct Cartesian_base_no_ref_count
struct Handle { typedef Simple_Handle_for<T> type; };
template < typename Kernel2 >
struct base { typedef Cartesian_base_no_ref_count<FT_, Kernel2> other; };
struct Base { typedef Cartesian_base_no_ref_count<FT_, Kernel2> Type; };
// TODO: cleanup (use Rational_traits<> instead)
static FT make_FT(const RT & num, const RT& denom) { return num/denom;}

View File

@ -1,3 +1,6 @@
2.83 (7 May 2003)
- Changed names in kernel rebind/base mechanism
2.82 (24 February 2003)
- Remove duplicate typedef.

View File

@ -42,8 +42,8 @@ struct Homogeneous_base_ref_count
struct Handle { typedef Handle_for<T> type; };
template < typename Kernel2 >
struct base {
typedef Homogeneous_base_ref_count<RT_,FT_,Kernel2> other;
struct Base {
typedef Homogeneous_base_ref_count<RT_,FT_,Kernel2> Type;
};
// TODO: cleanup (use Rational_traits<> instead)

View File

@ -42,8 +42,8 @@ struct Homogeneous_base_no_ref_count
struct Handle { typedef Simple_Handle_for<T> type; };
template < typename Kernel2 >
struct base {
typedef Homogeneous_base_no_ref_count<RT_,FT_,Kernel2> other;
struct Base {
typedef Homogeneous_base_no_ref_count<RT_,FT_,Kernel2> Type;
};
// TODO: cleanup (use Rational_traits<> instead)