STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
Concurrency::_Order_combinable< _Ty, _Sym_fun >::_Bucket Struct Reference

#include <ppl.h>

Public Member Functions

 _Bucket (_Bucket *_N)
 
void _Insert (_Bucket *_Item)
 
void _Put (const _Ty &_Cur)
 

Public Attributes

char _Value [(sizeof(_Ty)/sizeof(char))]
 
_Bucket_Next
 

Constructor & Destructor Documentation

template<typename _Ty , typename _Sym_fun >
Concurrency::_Order_combinable< _Ty, _Sym_fun >::_Bucket::_Bucket ( _Bucket _N)
inline
3030  {
3031  _Next = _N;
3032  }
_Bucket * _Next
Definition: ppl.h:3027

Member Function Documentation

template<typename _Ty , typename _Sym_fun >
void Concurrency::_Order_combinable< _Ty, _Sym_fun >::_Bucket::_Insert ( _Bucket _Item)
inline
3035  {
3036  // No need to lock, only one thread will insert
3037  _Item->_Next = _Next;
3038  _Next = _Item;
3039  }
_Bucket * _Next
Definition: ppl.h:3027
template<typename _Ty , typename _Sym_fun >
void Concurrency::_Order_combinable< _Ty, _Sym_fun >::_Bucket::_Put ( const _Ty &  _Cur)
inline
3043  {
3044  new(reinterpret_cast<_Ty *>(&_Value)) _Ty(_Cur);
3045  }
char _Value[(sizeof(_Ty)/sizeof(char))]
Definition: ppl.h:3026

Member Data Documentation

template<typename _Ty , typename _Sym_fun >
_Bucket* Concurrency::_Order_combinable< _Ty, _Sym_fun >::_Bucket::_Next
template<typename _Ty , typename _Sym_fun >
char Concurrency::_Order_combinable< _Ty, _Sym_fun >::_Bucket::_Value[(sizeof(_Ty)/sizeof(char))]

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