Bolt
1.3
C++ template library with support for OpenCL
|
Classes | |
struct | bolt::amp::pair< T1, T2 > |
struct | tuple_element< N, T > |
struct | tuple_size< Pair > |
Functions | |
template<typename T1 , typename T2 > | |
bool | bolt::amp::operator== (const pair< T1, T2 > &x, const pair< T1, T2 > &y) |
template<typename T1 , typename T2 > | |
bool | bolt::amp::operator< (const pair< T1, T2 > &x, const pair< T1, T2 > &y) |
template<typename T1 , typename T2 > | |
bool | bolt::amp::operator!= (const pair< T1, T2 > &x, const pair< T1, T2 > &y) |
template<typename T1 , typename T2 > | |
bool | bolt::amp::operator> (const pair< T1, T2 > &x, const pair< T1, T2 > &y) |
template<typename T1 , typename T2 > | |
bool | bolt::amp::operator<= (const pair< T1, T2 > &x, const pair< T1, T2 > &y) |
template<typename T1 , typename T2 > | |
bool | bolt::amp::operator>= (const pair< T1, T2 > &x, const pair< T1, T2 > &y) |
template<typename T1 , typename T2 > | |
pair< T1, T2 > | bolt::amp::make_pair (T1 x, T2 y) |
template<typename T1 , typename T2 > | |
bool | bolt::cl::operator== (const pair< T1, T2 > &x, const pair< T1, T2 > &y) |
template<typename T1 , typename T2 > | |
bool | bolt::cl::operator< (const pair< T1, T2 > &x, const pair< T1, T2 > &y) |
template<typename T1 , typename T2 > | |
bool | bolt::cl::operator!= (const pair< T1, T2 > &x, const pair< T1, T2 > &y) |
template<typename T1 , typename T2 > | |
bool | bolt::cl::operator> (const pair< T1, T2 > &x, const pair< T1, T2 > &y) |
template<typename T1 , typename T2 > | |
bool | bolt::cl::operator<= (const pair< T1, T2 > &x, const pair< T1, T2 > &y) |
template<typename T1 , typename T2 > | |
bool | bolt::cl::operator>= (const pair< T1, T2 > &x, const pair< T1, T2 > &y) |
template<typename T1 , typename T2 > | |
pair< T1, T2 > | bolt::cl::make_pair (T1 x, T2 y) |
pair< T1, T2 > bolt::amp::make_pair | ( | T1 | x, |
T2 | y | ||
) |
This function creates a pair
from two objects.
x | The first object to copy from. |
y | The second object to copy from. |
pair
copied from a
and b
.T1 | There are no requirements on the type of T1 . |
T2 | There are no requirements on the type of T2 . |
pair< T1, T2 > bolt::cl::make_pair | ( | T1 | x, |
T2 | y | ||
) |
This function creates a pair
from two objects.
x | The first object to copy from. |
y | The second object to copy from. |
pair
copied from a
and b
.T1 | There are no requirements on the type of T1 . |
T2 | There are no requirements on the type of T2 . |
bool bolt::amp::operator!= | ( | const pair< T1, T2 > & | x, |
const pair< T1, T2 > & | y | ||
) |
This operator tests two pairs for inequality.
x | The first pair to compare. |
y | The second pair to compare. |
true
if and only if !(x == y)
.T1 | is a model of Equality Comparable. |
T2 | is a model of Equality Comparable. |
bool bolt::cl::operator!= | ( | const pair< T1, T2 > & | x, |
const pair< T1, T2 > & | y | ||
) |
This operator tests two pairs for inequality.
x | The first pair to compare. |
y | The second pair to compare. |
true
if and only if !(x == y)
.T1 | is a model of Equality Comparable. |
T2 | is a model of Equality Comparable. |
bool bolt::amp::operator< | ( | const pair< T1, T2 > & | x, |
const pair< T1, T2 > & | y | ||
) |
This operator tests two pairs for ascending ordering.
x | The first pair to compare. |
y | The second pair to compare. |
true
if and only if x.first < y.first || (!(y.first < x.first) && x.second < y.second)
.T1 | is a model of LessThan Comparable. |
T2 | is a model of LessThan Comparable. |
bool bolt::cl::operator< | ( | const pair< T1, T2 > & | x, |
const pair< T1, T2 > & | y | ||
) |
This operator tests two pairs for ascending ordering.
x | The first pair to compare. |
y | The second pair to compare. |
true
if and only if x.first < y.first || (!(y.first < x.first) && x.second < y.second)
.T1 | is a model of LessThan Comparable. |
T2 | is a model of LessThan Comparable. |
bool bolt::amp::operator<= | ( | const pair< T1, T2 > & | x, |
const pair< T1, T2 > & | y | ||
) |
This operator tests two pairs for ascending ordering or equivalence.
x | The first pair to compare. |
y | The second pair to compare. |
true
if and only if !(y < x)
.T1 | is a model of LessThan Comparable. |
T2 | is a model of LessThan Comparable. |
bool bolt::cl::operator<= | ( | const pair< T1, T2 > & | x, |
const pair< T1, T2 > & | y | ||
) |
This operator tests two pairs for ascending ordering or equivalence.
x | The first pair to compare. |
y | The second pair to compare. |
true
if and only if !(y < x)
.T1 | is a model of LessThan Comparable. |
T2 | is a model of LessThan Comparable. |
bool bolt::amp::operator== | ( | const pair< T1, T2 > & | x, |
const pair< T1, T2 > & | y | ||
) |
This operator tests two pairs
for equality.
x | The first pair to compare. |
y | The second pair to compare. |
true
if and only if x.first == y.first && x.second == y.second
.T1 | is a model of Equality Comparable. |
T2 | is a model of Equality Comparable. |
bool bolt::cl::operator== | ( | const pair< T1, T2 > & | x, |
const pair< T1, T2 > & | y | ||
) |
This operator tests two pairs
for equality.
x | The first pair to compare. |
y | The second pair to compare. |
true
if and only if x.first == y.first && x.second == y.second
.T1 | is a model of Equality Comparable. |
T2 | is a model of Equality Comparable. |
bool bolt::amp::operator> | ( | const pair< T1, T2 > & | x, |
const pair< T1, T2 > & | y | ||
) |
This operator tests two pairs for descending ordering.
x | The first pair to compare. |
y | The second pair to compare. |
true
if and only if y < x
.T1 | is a model of LessThan Comparable. |
T2 | is a model of LessThan Comparable. |
bool bolt::cl::operator> | ( | const pair< T1, T2 > & | x, |
const pair< T1, T2 > & | y | ||
) |
This operator tests two pairs for descending ordering.
x | The first pair to compare. |
y | The second pair to compare. |
true
if and only if y < x
.T1 | is a model of LessThan Comparable. |
T2 | is a model of LessThan Comparable. |
bool bolt::amp::operator>= | ( | const pair< T1, T2 > & | x, |
const pair< T1, T2 > & | y | ||
) |
This operator tests two pairs for descending ordering or equivalence.
x | The first pair to compare. |
y | The second pair to compare. |
true
if and only if !(x < y)
.T1 | is a model of LessThan Comparable. |
T2 | is a model of LessThan Comparable. |
bool bolt::cl::operator>= | ( | const pair< T1, T2 > & | x, |
const pair< T1, T2 > & | y | ||
) |
This operator tests two pairs for descending ordering or equivalence.
x | The first pair to compare. |
y | The second pair to compare. |
true
if and only if !(x < y)
.T1 | is a model of LessThan Comparable. |
T2 | is a model of LessThan Comparable. |