Home ⌂Doc Index ◂Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
internal::Wrapper< T > Struct Template Reference

#include <_flow_graph_types_impl.h>

Inheritance diagram for internal::Wrapper< T >:
Collaboration diagram for internal::Wrapper< T >:

Classes

struct  _unwind_space
 

Public Types

typedef T value_type
 
typedef T * pointer_type
 

Public Member Functions

const value_typevalue () const
 
 Wrapper (const T &other)
 
 Wrapper (const Wrapper &other)
 
void CopyTo (void *newSpace) const __TBB_override
 
 ~Wrapper ()
 
- Public Member Functions inherited from internal::WrapperBase
virtual ~WrapperBase ()
 

Private Member Functions

 Wrapper ()
 

Private Attributes

value_space
 

Detailed Description

template<typename T>
struct internal::Wrapper< T >

Definition at line 441 of file _flow_graph_types_impl.h.

Member Typedef Documentation

◆ pointer_type

template<typename T>
typedef T* internal::Wrapper< T >::pointer_type

Definition at line 443 of file _flow_graph_types_impl.h.

◆ value_type

template<typename T>
typedef T internal::Wrapper< T >::value_type

Definition at line 442 of file _flow_graph_types_impl.h.

Constructor & Destructor Documentation

◆ Wrapper() [1/3]

template<typename T>
internal::Wrapper< T >::Wrapper ( )
private

Referenced by internal::Wrapper< T >::CopyTo(), and internal::Wrapper< T[N]>::CopyTo().

Here is the caller graph for this function:

◆ Wrapper() [2/3]

template<typename T>
internal::Wrapper< T >::Wrapper ( const T &  other)
inlineexplicit

Definition at line 461 of file _flow_graph_types_impl.h.

◆ Wrapper() [3/3]

template<typename T>
internal::Wrapper< T >::Wrapper ( const Wrapper< T > &  other)
inlineexplicit

Definition at line 462 of file _flow_graph_types_impl.h.

462 : value_space(other.value_space) { }

◆ ~Wrapper()

template<typename T>
internal::Wrapper< T >::~Wrapper ( )
inline

Definition at line 469 of file _flow_graph_types_impl.h.

469 { }

Member Function Documentation

◆ CopyTo()

template<typename T>
void internal::Wrapper< T >::CopyTo ( void newSpace) const
inlinevirtual

Reimplemented from internal::WrapperBase.

Definition at line 464 of file _flow_graph_types_impl.h.

464  {
465  _unwind_space guard((pointer_type)newSpace);
466  (void) new(newSpace) Wrapper(value_space);
467  guard.space = NULL;
468  }

References internal::Wrapper< T >::_unwind_space::space, internal::Wrapper< T >::value_space, void, and internal::Wrapper< T >::Wrapper().

Here is the call graph for this function:

◆ value()

template<typename T>
const value_type& internal::Wrapper< T >::value ( ) const
inline

Member Data Documentation

◆ value_space


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.