mpqc::utility::TSPool< Item > Class Template Reference
Documentation
template<typename Item>
class mpqc::utility::TSPool< Item >
A pool of thread-specific objects.
Public Member Functions | |
TSPool ()=delete | |
Don't allow copies or default initialization. More... | |
TSPool (TSPool const &)=delete | |
TSPool & | operator= (TSPool const &)=delete |
TSPool & | operator= (TSPool &&)=default |
TSPool (TSPool &&a)=default | |
TSPool (Item e) | |
Initializes the pool with a single Item . More... | |
Item & | local () |
Constructor & Destructor Documentation
◆ TSPool() [1/4]
template<typename Item >
|
delete |
Don't allow copies or default initialization.
◆ TSPool() [2/4]
template<typename Item >
|
delete |
◆ TSPool() [3/4]
template<typename Item >
|
default |
◆ TSPool() [4/4]
template<typename Item >
|
inlineexplicit |
Initializes the pool with a single Item
.
Member Function Documentation
◆ local()
template<typename Item >
|
inline |
- Returns
- reference to the thread-local
Item
instance.
◆ operator=() [1/2]
template<typename Item >
|
default |
◆ operator=() [2/2]
template<typename Item >
|
delete |
The documentation for this class was generated from the following file:
- mpqc/util/misc/pool.h