ReactOS 0.4.15-dev-7942-gd23573b
odd Struct Reference

#include <unary.h>

Inheritance diagram for odd:
Collaboration diagram for odd:

Public Member Functions

bool operator() (int n_) const
 

Additional Inherited Members

- Public Types inherited from unary_function< int, bool >
typedef int argument_type
 
typedef bool result_type
 
- Protected Member Functions inherited from unary_function< int, bool >
 ~unary_function ()
 

Detailed Description

Definition at line 11 of file unary.h.

Member Function Documentation

◆ operator()()

bool odd::operator() ( int  n_) const
inline

Definition at line 12 of file unary.h.

12{ return(n_ % 2) == 1; }

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