TiledArray::shared_function< F > Class Template Reference
Documentation
template<typename F>
class TiledArray::shared_function< F >
analogous to std::function, but has shallow-copy semantics
Definition at line 16 of file function.h.
Public Member Functions | |
shared_function ()=default | |
shared_function (F &&f) | |
shared_function (shared_function const &other) | |
shared_function (shared_function &&)=default | |
shared_function & | operator= (shared_function const &)=default |
shared_function & | operator= (shared_function &&)=default |
operator bool () const | |
template<typename... As, typename = std::void_t<decltype( (std::declval<F &>())(std::declval<As>()...))>> | |
auto | operator() (As &&...as) const |
Constructor & Destructor Documentation
◆ shared_function() [1/4]
template<typename F >
|
default |
◆ shared_function() [2/4]
template<typename F >
|
inline |
Definition at line 20 of file function.h.
◆ shared_function() [3/4]
template<typename F >
|
inline |
Definition at line 21 of file function.h.
◆ shared_function() [4/4]
template<typename F >
|
default |
Member Function Documentation
◆ operator bool()
template<typename F >
|
inlineexplicit |
Definition at line 26 of file function.h.
◆ operator()()
template<typename F >
template<typename... As, typename = std::void_t<decltype( (std::declval<F &>())(std::declval<As>()...))>>
|
inline |
Definition at line 30 of file function.h.
◆ operator=() [1/2]
template<typename F >
|
default |
◆ operator=() [2/2]
template<typename F >
|
default |
The documentation for this class was generated from the following file:
- TiledArray/util/function.h