Example #1
0
	void callback(Args... args) override {
		_functor(frigg::move(args)...);
		frigg::destruct(*kernelAlloc, this);
	}
Example #2
0
 void    run()
 {
     _functor();
 }
	// This function is invoked by the std::set_difference algorithm
	ObserverOutputIterator& operator=(const INodePtr& node)
	{
		// Pass the call to the functor
		_functor(*_owner, node);
		return *this;
	}