Point concepts (details)¶
Table of Contents
Point¶
-
template<typename
Pnt>
conceptPoint¶ - Refines the
template <typename T> Regularconcept. - Refines the
template <typename T> StrictTotallyOrderedconcept.
Notation
Valid Expressions
pnt()returns an instance ofPnt.cpnt()returns an instance ofconst Pnt.pnt_cpy(pnt)returns an instance ofPnt.pnt_cpy(cpnt)returns an instance ofPnt.pnt_cpy(move(pnt))returns an instance ofPnt.pnt_cpy = pntreturns an instance ofPnt&.pnt_cpy = cpntreturns an instance ofPnt&.pnt_cpy = move(pnt)returns an instance ofPnt&.lhs == rhsreturn-type modelstemplate<typename B> Boolean.lhs != rhsreturn-type modelstemplate<typename B> Boolean.rhs == lhsreturn-type modelstemplate<typename B> Boolean.rhs != lhsreturn-type modelstemplate<typename B> Boolean.lhs < rhsreturn-type modelstemplate<typename B> Boolean.lhs > rhsreturn-type modelstemplate<typename B> Boolean.lhs <= rhsreturn-type modelstemplate<typename B> Boolean.lhs >= rhsreturn-type modelstemplate<typename B> Boolean.
Possible implementation
template<typename Pnt> concept Point = Regular<Pnt> && StrictTotallyOrdered<Pnt>;
- Refines the