#ifndef EMPATHY_LLR_GETTEMPORARY_H #define EMPATHY_LLR_GETTEMPORARY_H namespace empathy::llr { class GetTemporary { public: GetTemporary( uint32_t index ) : m_index( index ) {} const auto& index() const { return m_index; } void bumpTemporayIndices( uint32_t offset ) { m_index += offset; } bool canBeExecuted() const { return true; } bool canBeEagerlyEvaluated() const { return true; } private: uint32_t m_index = 0; }; } #endif