C++ Library Extensions 2022.12.09
To help learn modern C++ programming
Functor Class Reference

Public Member Functions

 Functor (int offset)
 
int operator() (int a, int b) const
 

Detailed Description

Definition at line 9 of file 09-functor.cpp.

Constructor & Destructor Documentation

◆ Functor()

Functor::Functor ( int  offset)
inline

Definition at line 16 of file 09-functor.cpp.

Member Function Documentation

◆ operator()()

int Functor::operator() ( int  a,
int  b 
) const
inline

Definition at line 19 of file 09-functor.cpp.


The documentation for this class was generated from the following file: