CGAL 5.1 - Algebraic Foundations
AlgebraicStructureTraits_::Square Class Reference

#include <Concepts/AlgebraicStructureTraits--Square.h>

Definition

AdaptableUnaryFunction, computing the square of the argument.

Refines:
AdaptableUnaryFunction
See also
AlgebraicStructureTraits

Types

typedef unspecified_type result_type
 Is AlgebraicStructureTraits::Type. More...
 
typedef unspecified_type argument_type
 Is AlgebraicStructureTraits::Type. More...
 

Operations

result_type operator() (argument_type x)
 returns the square of \( x\). More...
 

Member Typedef Documentation

◆ argument_type

◆ result_type

Member Function Documentation

◆ operator()()

result_type AlgebraicStructureTraits_::Square::operator() ( argument_type  x)

returns the square of \( x\).