1#ifndef SXEVAL_VALUE_HPP
2#define SXEVAL_VALUE_HPP
37 return std::to_string(_val); }
The IOperand class is an interface for operands.
Definition IOperand.hpp:16
The Value class represents a constant value in the SXEval library.
Definition Value.hpp:20
Value(T val)
Default constructor.
Definition Value.hpp:27
T & getResult() override
Get a reference to the value.
Definition Value.hpp:34
std::string toString() const override
String representation of the instruction.
Definition Value.hpp:36
Definition AOperation.hpp:8
std::enable_if< std::is_unsigned< T >::value, T >::type Absolute(const T &a)
Perform an absolute value operation on types T.
Definition utils.hpp:262