Skip to content
Snippets Groups Projects

Redesign abstraction

Merged Jan Trávníček requested to merge redesign_abstraction into master
31 files
+ 363
458
Compare changes
  • Side-by-side
  • Inline
Files
31
@@ -8,8 +8,10 @@
#ifndef _ALGORITHM_ABSTRACTION_HPP_
#define _ALGORITHM_ABSTRACTION_HPP_
#include <abstraction/NaryOperationAbstraction.hpp>
#include <alib/memory>
#include <abstraction/NaryOperationAbstraction.hpp>
#include <registry/Registry.h>
namespace abstraction {
@@ -23,13 +25,7 @@ public:
}
virtual bool run ( ) override {
if ( ! this->inputsReady ( ) )
return false;
if ( this->cached ( ) )
return true;
this->run_helper ( m_callback, this->m_params, this->m_moves, std::make_index_sequence < sizeof ... ( ParamTypes ) > { } );
this->template run_helper < ParamTypes ... > ( m_callback, this->m_params );
return true;
}
Loading