Namespaces
Variants
Views
Actions

std::modulus

From cppreference.com
< cpp‎ | utility‎ | functional
Revision as of 10:27, 1 December 2011 by Mankarse (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:cpp/utility/functional/sidebar Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <functional>
</td>

<td></td> <td></td> </tr> <tr class="t-dcl ">

<td class="t-dcl-nopad">
template< class T >
struct modulus;
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> Template:ddcl list end

Function object for computing remainders of divisions.

Member types

Template:tdcl list begin Template:tdcl list hitem Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list end

Member functions

Returns the remainder from the division of its first argument by its second argument
(public member function of Template:cpp/utility/functional/modulo/title)