Пример #1
0
    // Do-Not-Copy semantics
    void Invoke ( T0 const& t0 ) {
		std::size_t i;
		for ( i = 0; i < invocations.size(); ++i ) {
			invocations[i]( t0 );
		}
	}
Пример #2
0
    // Forward-Semantics
    void Invoke ( T0&& t0 ) {
		std::size_t i;
		for ( i = 0; i < invocations.size(); ++i ) {
			invocations[i]( std::forward<T0>( t0 ) );
		}
	}
Пример #3
0
		std::size_t InvocationCount( ) const {
			return invocations.size( );
		}