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

Provides a range-based interface for ref_counted derived objects. More...

Public Member Functions

 ref_counted_range (T &t)
 
 ref_counted_range (boost::intrusive_ptr< T > p)
 
bool empty (void) const noexcept
 
size_type size (void) const noexcept
 
const_iterator begin (void) const noexcept
 
const_iterator end (void) const noexcept
 
iterator begin (void) noexcept
 
iterator end (void) noexcept
 

Public Types

using size_type = typename T::size_type
 
using const_iterator = typename T::const_iterator
 
using iterator = typename T::iterator
 

Detailed Description

template<typename T>
class stapl::runtime::ref_counted_range< T >

Provides a range-based interface for ref_counted derived objects.

Template Parameters
TReference counted object type.

The object stored in this range is also reference counted to prevent dangling pointers in case the object is deleted prior to the range.


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