ComPPare 1.0.0
Loading...
Searching...
No Matches
comppare::plugin::nvbenchplugin::NvbenchCallable< F > Struct Template Reference

Wrapper for a callable object to be used within NVBench. More...

#include <nvbench.hpp>

Public Member Functions

void operator() (nvbench::state &st, nvbench::type_list<>)
 
 NvbenchCallable (F _f)
 
 ~NvbenchCallable ()=default
 
 NvbenchCallable (const NvbenchCallable &other)=default
 
NvbenchCallableoperator= (const NvbenchCallable &other)=default
 
 NvbenchCallable (NvbenchCallable &&other)=default
 
NvbenchCallableoperator= (NvbenchCallable &&other)=default
 

Public Attributes

f
 

Detailed Description

template<typename F>
struct comppare::plugin::nvbenchplugin::NvbenchCallable< F >

Wrapper for a callable object to be used within NVBench.

Template Parameters
FThe type of the callable object.

Constructor & Destructor Documentation

◆ NvbenchCallable() [1/3]

template<typename F >
comppare::plugin::nvbenchplugin::NvbenchCallable< F >::NvbenchCallable ( _f)
inline

◆ ~NvbenchCallable()

template<typename F >
comppare::plugin::nvbenchplugin::NvbenchCallable< F >::~NvbenchCallable ( )
default

◆ NvbenchCallable() [2/3]

template<typename F >
comppare::plugin::nvbenchplugin::NvbenchCallable< F >::NvbenchCallable ( const NvbenchCallable< F > &  other)
default

◆ NvbenchCallable() [3/3]

template<typename F >
comppare::plugin::nvbenchplugin::NvbenchCallable< F >::NvbenchCallable ( NvbenchCallable< F > &&  other)
default

Member Function Documentation

◆ operator()()

template<typename F >
void comppare::plugin::nvbenchplugin::NvbenchCallable< F >::operator() ( nvbench::state &  st,
nvbench::type_list<>   
)
inline

◆ operator=() [1/2]

template<typename F >
NvbenchCallable & comppare::plugin::nvbenchplugin::NvbenchCallable< F >::operator= ( const NvbenchCallable< F > &  other)
default

◆ operator=() [2/2]

template<typename F >
NvbenchCallable & comppare::plugin::nvbenchplugin::NvbenchCallable< F >::operator= ( NvbenchCallable< F > &&  other)
default

Member Data Documentation

◆ f

template<typename F >
F comppare::plugin::nvbenchplugin::NvbenchCallable< F >::f

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