STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::divides< T > Struct Template Reference

Function which returns the result of dividing the first argument by the second. More...

Public Member Functions

template<typename Reference1 , typename Reference2 >
operator() (Reference1 x, Reference2 y) const
 

Public Types

using first_argument_type = T
 
using second_argument_type = T
 
using result_type = T
 

Detailed Description

template<typename T>
struct stapl::divides< T >

Function which returns the result of dividing the first argument by the second.

Template Parameters
TType of the arguments.

When called with integral types, returns the quotient. When called with real-valued types, returns the exact result of the division.


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