1#ifndef SXEVAL_IINSTRUCTION_HPP
2#define SXEVAL_IINSTRUCTION_HPP
The IInstruction class is an interface for any instructions.
Definition IInstruction.hpp:21
virtual T & getResult()=0
Get a reference to the result of the instruction.
virtual ~IInstruction()=default
Default destructor.
virtual std::string toString() const =0
String representation of the instruction.
Definition AOperation.hpp:8
std::ostream & operator<<(std::ostream &os, const IInstruction< T > &obj)
Output stream operator for AInstruction.
Definition IInstruction.hpp:51