add missing concepts

This commit is contained in:
Sébastien Loriot 2023-04-11 13:54:29 +02:00
parent 2d60f46985
commit 064a92e107
1 changed files with 42 additions and 0 deletions

View File

@ -85,6 +85,48 @@ public:
result_type operator()(first_argument_type, second_argument_type, third_argument_type);
};
/// \cgalConcept
/// Adaptable functor with four arguments
/// \cgalRefines{AdaptableFunctor}
class AdaptableQuaternaryFunction
{
public:
/// result_type
typedef unspecified_type result_type;
/// first argument_type
typedef unspecified_type first_argument_type;
/// second argument_type
typedef unspecified_type second_argument_type;
/// third argument_type
typedef unspecified_type third_argument_type;
/// fourth argument_type
typedef unspecified_type fourth_argument_type;
/// operator type
result_type operator()(first_argument_type, second_argument_type, third_argument_type, fourth_argument_type);
};
/// \cgalConcept
/// Adaptable functor with five arguments
/// \cgalRefines{AdaptableFunctor}
class AdaptableQuinaryFunction
{
public:
/// result_type
typedef unspecified_type result_type;
/// first argument_type
typedef unspecified_type first_argument_type;
/// second argument_type
typedef unspecified_type second_argument_type;
/// third argument_type
typedef unspecified_type third_argument_type;
/// fourth argument_type
typedef unspecified_type fourth_argument_type;
/// fifth argument_type
typedef unspecified_type fifth_argument_type;
/// operator type
result_type operator()(first_argument_type, second_argument_type, third_argument_type, fourth_argument_type, fifth_argument_type);
};
/// \cgalConcept
/// Concept from the \cpp standard.
/// See https://en.cppreference.com/w/cpp/named_req/Iterator