Wayverb
util::event< Ts > Class Template Referencefinal

Classes

class  connection
 
class  scoped_connection
 

Public Types

using callback_type = std::function< void(Ts...)>
 

Public Member Functions

 event (const event &)=delete
 
 event (event &&) noexcept=default
 
eventoperator= (const event &)=delete
 
eventoperator= (event &&) noexcept=default
 
auto connect (callback_type callback)
 
template<typename... Us>
void operator() (Us &&...us) const
 
bool empty () const
 
size_t size () const
 

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