Mark Twotuple, Threetuple, Fourtuple, Sixtuple with CGAL_DEPRECATED.

(marke the constructors as such, as marking the classes does not work
with templates with GCC right now).
This commit is contained in:
Sylvain Pion 2008-07-25 17:57:22 +00:00
parent ca4eb4f217
commit b4aaa1bbd1
4 changed files with 8 additions and 8 deletions

View File

@ -33,10 +33,10 @@ struct Fourtuple
T e0, e1, e2, e3;
Fourtuple()
Fourtuple() CGAL_DEPRECATED
{}
Fourtuple(const T & a0, const T & a1, const T & a2, const T & a3)
Fourtuple(const T & a0, const T & a1, const T & a2, const T & a3) CGAL_DEPRECATED
: e0(a0), e1(a1), e2(a2), e3(a3)
{}
};

View File

@ -33,11 +33,11 @@ struct Sixtuple
T e0, e1, e2, e3, e4, e5;
Sixtuple()
Sixtuple() CGAL_DEPRECATED
{}
Sixtuple(const T & a0, const T & a1, const T & a2,
const T & a3, const T & a4, const T & a5)
const T & a3, const T & a4, const T & a5) CGAL_DEPRECATED
: e0(a0), e1(a1), e2(a2), e3(a3), e4(a4), e5(a5)
{}
};

View File

@ -33,10 +33,10 @@ struct Threetuple
T e0, e1, e2;
Threetuple()
Threetuple() CGAL_DEPRECATED
{}
Threetuple(const T & a0, const T & a1, const T & a2)
Threetuple(const T & a0, const T & a1, const T & a2) CGAL_DEPRECATED
: e0(a0), e1(a1), e2(a2)
{}
};

View File

@ -33,10 +33,10 @@ struct Twotuple
T e0, e1;
Twotuple()
Twotuple() CGAL_DEPRECATED
{}
Twotuple(const T & a0, const T &a1) : e0(a0), e1(a1)
Twotuple(const T & a0, const T &a1) CGAL_DEPRECATED : e0(a0), e1(a1)
{}
};