DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::ext::oneapi::experimental::annotated_ref< T, detail::properties_t< Props... > > Class Template Reference

#include <sycl/ext/oneapi/experimental/annotated_ptr/annotated_ptr.hpp>

Public Member Functions

 annotated_ref (const annotated_ref &)=delete
 
 operator T () const
 
template<class O , typename = std::enable_if_t<!detail::is_ann_ref_v<O>>>
operator= (O &&Obj) const
 
template<class O , class P >
operator= (const annotated_ref< O, P > &Ref) const
 
operator++ () const
 
operator++ (int) const
 
operator-- () const
 
operator-- (int) const
 

Friends

template<class T2 , class P2 >
class annotated_ptr
 

Detailed Description

template<typename T, typename... Props>
class sycl::_V1::ext::oneapi::experimental::annotated_ref< T, detail::properties_t< Props... > >

Definition at line 93 of file annotated_ptr.hpp.

Constructor & Destructor Documentation

◆ annotated_ref()

template<typename T , typename... Props>
sycl::_V1::ext::oneapi::experimental::annotated_ref< T, detail::properties_t< Props... > >::annotated_ref ( const annotated_ref< T, detail::properties_t< Props... > > &  )
delete

Member Function Documentation

◆ operator T()

template<typename T , typename... Props>
sycl::_V1::ext::oneapi::experimental::annotated_ref< T, detail::properties_t< Props... > >::operator T ( ) const
inline

Definition at line 108 of file annotated_ptr.hpp.

References sycl::_V1::ext::oneapi::experimental::m_Ptr.

◆ operator++() [1/2]

template<typename T , typename... Props>
T sycl::_V1::ext::oneapi::experimental::annotated_ref< T, detail::properties_t< Props... > >::operator++ ( ) const
inline

Definition at line 209 of file annotated_ptr.hpp.

References sycl::_V1::t.

◆ operator++() [2/2]

template<typename T , typename... Props>
T sycl::_V1::ext::oneapi::experimental::annotated_ref< T, detail::properties_t< Props... > >::operator++ ( int  ) const
inline

Definition at line 216 of file annotated_ptr.hpp.

◆ operator--() [1/2]

template<typename T , typename... Props>
T sycl::_V1::ext::oneapi::experimental::annotated_ref< T, detail::properties_t< Props... > >::operator-- ( ) const
inline

Definition at line 224 of file annotated_ptr.hpp.

References sycl::_V1::t.

◆ operator--() [2/2]

template<typename T , typename... Props>
T sycl::_V1::ext::oneapi::experimental::annotated_ref< T, detail::properties_t< Props... > >::operator-- ( int  ) const
inline

Definition at line 231 of file annotated_ptr.hpp.

◆ operator=() [1/2]

template<typename T , typename... Props>
template<class O , class P >
T sycl::_V1::ext::oneapi::experimental::annotated_ref< T, detail::properties_t< Props... > >::operator= ( const annotated_ref< O, P > &  Ref) const
inline

Definition at line 129 of file annotated_ptr.hpp.

◆ operator=() [2/2]

template<typename T , typename... Props>
template<class O , typename = std::enable_if_t<!detail::is_ann_ref_v<O>>>
T sycl::_V1::ext::oneapi::experimental::annotated_ref< T, detail::properties_t< Props... > >::operator= ( O &&  Obj) const
inline

Definition at line 119 of file annotated_ptr.hpp.

References sycl::_V1::ext::oneapi::experimental::m_Ptr.

Friends And Related Function Documentation

◆ annotated_ptr

template<typename T , typename... Props>
template<class T2 , class P2 >
friend class annotated_ptr
friend

Definition at line 239 of file annotated_ptr.hpp.


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