proxygen
folly::pushmi::shared_entangled< T, Dual > Struct Template Reference

#include <entangle.h>

Inheritance diagram for folly::pushmi::shared_entangled< T, Dual >:

Public Member Functions

template<class P >
 shared_entangled (std::shared_ptr< P > &p, T &t, Dual &d, std::mutex &l)
 
 shared_entangled ()=delete
 

Public Attributes

Dual * dual
 
std::mutexlock
 

Detailed Description

template<class T, class Dual>
struct folly::pushmi::shared_entangled< T, Dual >

Definition at line 262 of file entangle.h.

Constructor & Destructor Documentation

template<class T, class Dual>
template<class P >
folly::pushmi::shared_entangled< T, Dual >::shared_entangled ( std::shared_ptr< P > &  p,
T t,
Dual &  d,
std::mutex l 
)
inlineexplicit

Definition at line 267 of file entangle.h.

268  : std::shared_ptr<T>(p, std::addressof(t)),
269  dual(std::addressof(d)),
270  lock(std::addressof(l)) {}
requires Tuple && t
template<class T, class Dual>
folly::pushmi::shared_entangled< T, Dual >::shared_entangled ( )
delete

Member Data Documentation

template<class T, class Dual>
Dual* folly::pushmi::shared_entangled< T, Dual >::dual

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