LLVM  10.0.0svn
Classes | Public Member Functions | List of all members
llvm::unique_function< ReturnT(ParamTs...)> Class Template Reference

#include "llvm/ADT/FunctionExtras.h"

Public Member Functions

 unique_function ()=default
 
 unique_function (std::nullptr_t)
 
 ~unique_function ()
 
 unique_function (unique_function &&RHS) noexcept
 
unique_functionoperator= (unique_function &&RHS) noexcept
 
template<typename CallableT >
 unique_function (CallableT Callable)
 
ReturnT operator() (ParamTs... Params)
 
 operator bool () const
 

Detailed Description

template<typename ReturnT, typename... ParamTs>
class llvm::unique_function< ReturnT(ParamTs...)>

Definition at line 45 of file FunctionExtras.h.

Constructor & Destructor Documentation

◆ unique_function() [1/4]

template<typename ReturnT , typename... ParamTs>
llvm::unique_function< ReturnT(ParamTs...)>::unique_function ( )
default

◆ unique_function() [2/4]

template<typename ReturnT , typename... ParamTs>
llvm::unique_function< ReturnT(ParamTs...)>::unique_function ( std::nullptr_t  )
inline

Definition at line 174 of file FunctionExtras.h.

◆ ~unique_function()

template<typename ReturnT , typename... ParamTs>
llvm::unique_function< ReturnT(ParamTs...)>::~unique_function ( )
inline

◆ unique_function() [3/4]

template<typename ReturnT , typename... ParamTs>
llvm::unique_function< ReturnT(ParamTs...)>::unique_function ( unique_function< ReturnT(ParamTs...)> &&  RHS)
inlinenoexcept

Definition at line 192 of file FunctionExtras.h.

◆ unique_function() [4/4]

template<typename ReturnT , typename... ParamTs>
template<typename CallableT >
llvm::unique_function< ReturnT(ParamTs...)>::unique_function ( CallableT  Callable)
inline

Definition at line 233 of file FunctionExtras.h.

References Size.

Member Function Documentation

◆ operator bool()

template<typename ReturnT , typename... ParamTs>
llvm::unique_function< ReturnT(ParamTs...)>::operator bool ( ) const
inlineexplicit

◆ operator()()

template<typename ReturnT , typename... ParamTs>
ReturnT llvm::unique_function< ReturnT(ParamTs...)>::operator() ( ParamTs...  Params)
inline

Definition at line 276 of file FunctionExtras.h.

◆ operator=()

template<typename ReturnT , typename... ParamTs>
unique_function& llvm::unique_function< ReturnT(ParamTs...)>::operator= ( unique_function< ReturnT(ParamTs...)> &&  RHS)
inlinenoexcept

Definition at line 221 of file FunctionExtras.h.


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