Home ⌂Doc Index ◂Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::concurrent_vector< T, A >::push_back_helper Struct Reference
Inheritance diagram for tbb::concurrent_vector< T, A >::push_back_helper:
Collaboration diagram for tbb::concurrent_vector< T, A >::push_back_helper:

Classes

struct  element_construction_guard
 

Public Member Functions

 push_back_helper (concurrent_vector &vector)
 
pointer internal_push_back_result ()
 
iterator return_iterator_and_dismiss ()
 
- Public Member Functions inherited from tbb::internal::no_copy
 no_copy (const no_copy &)=delete
 
 no_copy ()=default
 

Public Attributes

concurrent_vectorv
 
size_type k
 
element_construction_guard g
 

Detailed Description

template<typename T, class A>
struct tbb::concurrent_vector< T, A >::push_back_helper

Definition at line 1138 of file concurrent_vector.h.

Constructor & Destructor Documentation

◆ push_back_helper()

template<typename T, class A>
tbb::concurrent_vector< T, A >::push_back_helper::push_back_helper ( concurrent_vector vector)
inline

Definition at line 1155 of file concurrent_vector.h.

1155  :
1156  v(vector),
1157  g (static_cast<T*>(v.internal_push_back(sizeof(T),k)))
1158  {}
void *__TBB_EXPORTED_METHOD internal_push_back(size_type element_size, size_type &index)

Member Function Documentation

◆ internal_push_back_result()

◆ return_iterator_and_dismiss()

template<typename T, class A>
iterator tbb::concurrent_vector< T, A >::push_back_helper::return_iterator_and_dismiss ( )
inline

Member Data Documentation

◆ g

◆ k

template<typename T, class A>
size_type tbb::concurrent_vector< T, A >::push_back_helper::k

◆ v

template<typename T, class A>
concurrent_vector& tbb::concurrent_vector< T, A >::push_back_helper::v

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

Copyright © 2005-2020 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.