CGAL 5.1 - STL Extensions for CGAL
|
#include <CGAL/function_objects.h>
The class Cast_function_object
applies a C-style type cast to its argument.
Public Types | |
typedef Arg | argument_type |
typedef Result | result_type |
Creation | |
Cast_function_object () | |
default constructor. More... | |
Operations | |
result_type & | operator() (argument_type &x) const |
returns (Result)x . More... | |
const result_type & | operator() (const argument_type &x) const |
returns (Result)x . More... | |
typedef Arg CGAL::Cast_function_object< Arg, Result >::argument_type |
typedef Result CGAL::Cast_function_object< Arg, Result >::result_type |
CGAL::Cast_function_object< Arg, Result >::Cast_function_object | ( | ) |
default constructor.
result_type& CGAL::Cast_function_object< Arg, Result >::operator() | ( | argument_type & | x | ) | const |
returns (Result)x
.
const result_type& CGAL::Cast_function_object< Arg, Result >::operator() | ( | const argument_type & | x | ) | const |
returns (Result)x
.