QuantumLibrary
Bloomberg::quantum::Capture< FUNC, ARGS > Class Template Reference

Class allowing lambda parameter captures. More...

#include <quantum_capture.h>

Public Member Functions

 Capture (FUNC &&func, ARGS &&...args)
 
template<typename ... T>
int operator() (T &&...t)
 

Detailed Description

template<typename FUNC, typename ... ARGS>
class Bloomberg::quantum::Capture< FUNC, ARGS >

Class allowing lambda parameter captures.

Note
For internal use only.

Constructor & Destructor Documentation

◆ Capture()

template<typename FUNC , typename ... ARGS>
Bloomberg::quantum::Capture< FUNC, ARGS >::Capture ( FUNC &&  func,
ARGS &&...  args 
)

Member Function Documentation

◆ operator()()

template<typename FUNC , typename ... ARGS>
template<typename ... T>
int Bloomberg::quantum::Capture< FUNC, ARGS >::operator() ( T &&...  t)