Vowpal Wabbit
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
vw_slim::internal::location_reference< It1, It2 > Class Template Reference

#include <vw_slim_predict.h>

Public Types

using Ref = location_reference< It1, It2 >
 
using Val = location_value< It1, It2 >
 

Public Member Functions

 location_reference ()=delete
 
 location_reference (const Ref &other)
 
 location_reference (It1 first, It2 second)
 
location_referenceoperator= (const Val &rhs)
 
location_referenceoperator= (const Ref &rhs)
 

Public Attributes

It1 _ptr1
 
It2 _ptr2
 

Friends

void swap (const location_reference &a, const location_reference &b)
 

Detailed Description

template<typename It1, typename It2>
class vw_slim::internal::location_reference< It1, It2 >

Definition at line 22 of file vw_slim_predict.h.

Member Typedef Documentation

◆ Ref

template<typename It1, typename It2>
using vw_slim::internal::location_reference< It1, It2 >::Ref = location_reference<It1, It2>

Definition at line 43 of file vw_slim_predict.h.

◆ Val

template<typename It1, typename It2>
using vw_slim::internal::location_reference< It1, It2 >::Val = location_value<It1, It2>

Definition at line 44 of file vw_slim_predict.h.

Constructor & Destructor Documentation

◆ location_reference() [1/3]

template<typename It1, typename It2>
vw_slim::internal::location_reference< It1, It2 >::location_reference ( )
delete

◆ location_reference() [2/3]

template<typename It1, typename It2>
vw_slim::internal::location_reference< It1, It2 >::location_reference ( const Ref other)
inline

Definition at line 48 of file vw_slim_predict.h.

◆ location_reference() [3/3]

template<typename It1, typename It2>
vw_slim::internal::location_reference< It1, It2 >::location_reference ( It1  first,
It2  second 
)
inline

Member Function Documentation

◆ operator=() [1/2]

template<typename It1, typename It2>
location_reference& vw_slim::internal::location_reference< It1, It2 >::operator= ( const Val rhs)
inline

◆ operator=() [2/2]

template<typename It1, typename It2>
location_reference& vw_slim::internal::location_reference< It1, It2 >::operator= ( const Ref rhs)
inline

Friends And Related Function Documentation

◆ swap

template<typename It1, typename It2>
void swap ( const location_reference< It1, It2 > &  a,
const location_reference< It1, It2 > &  b 
)
friend

Definition at line 66 of file vw_slim_predict.h.

67  {
68  std::iter_swap(a._ptr1, b._ptr1);
69  std::iter_swap(a._ptr2, b._ptr2);
70  }
constexpr uint64_t a
Definition: rand48.cc:11

Member Data Documentation

◆ _ptr1

template<typename It1, typename It2>
It1 vw_slim::internal::location_reference< It1, It2 >::_ptr1

◆ _ptr2

template<typename It1, typename It2>
It2 vw_slim::internal::location_reference< It1, It2 >::_ptr2

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