#include <pair.h>
|
| | pair (void) |
| |
| | pair (const T1 &x, const T2 &y) |
| |
| template<typename U1 , typename U2 > |
| | pair (const pair< U1, U2 > &p) |
| |
| template<typename U1 , typename U2 > |
| | pair (const std::pair< U1, U2 > &p) |
| |
template<typename T1, typename T2>
struct bolt::cl::pair< T1, T2 >
pair is a generic data structure encapsulating a heterogeneous pair of values.
- Template Parameters
-
| T1 | The type of pair's first object type. There are no requirements on the type of T1. T1's type is provided by pair::first_type. |
| T2 | The type of pair's second object type. There are no requirements on the type of T2. T2's type is provided by pair::second_type. |
template<typename T1, typename T2>
first_type is pair's first object type.
template<typename T1, typename T2>
second_type is pair's second object type.
template<typename T1 , typename T2 >
pair's default constructor constructs first and second using first_type & second_type's default constructors, respectively.
template<typename T1 , typename T2 >
This constructor accepts two objects to copy into this pair.
- Parameters
-
| x | The object to copy into first. |
| y | The object to copy into second. |
template<typename T1 , typename T2 >
template<typename U1 , typename U2 >
This copy constructor copies from a pair whose types are convertible to this pair's first_type and second_type, respectively.
- Parameters
-
- Template Parameters
-
| U1 | is convertible to first_type. |
| U2 | is convertible to second_type. |
template<typename T1 , typename T2 >
template<typename U1 , typename U2 >
This copy constructor copies from a std::pair whose types are convertible to this pair's first_type and second_type, respectively.
- Parameters
-
| p | The std::pair to copy from. |
- Template Parameters
-
| U1 | is convertible to first_type. |
| U2 | is convertible to second_type. |
template<typename T1, typename T2>
template<typename T1, typename T2>
The pair's second object.
The documentation for this struct was generated from the following files:
- //bgldinar16/Jenkins_FS_Root/workspace/Bolt_Clone_Local_develop/include/bolt/cl/pair.h
- //bgldinar16/Jenkins_FS_Root/workspace/Bolt_Clone_Local_develop/include/bolt/cl/detail/pair.inl