Vita
|
Go to the source code of this file.
Namespaces | |
namespace | vita |
The main namespace for the project. | |
Typedefs | |
using | vita::D_DOUBLE = double |
using | vita::D_INT = int |
using | vita::D_STRING = std::string |
using | vita::D_VOID = std::monostate |
using | vita::value_t = std::variant< D_VOID, D_INT, D_DOUBLE, D_STRING > |
A variant containing the data types used by the interpreter for internal calculations / output value and for storing examples. More... | |
Enumerations | |
enum | vita::domain_t { d_void = 0 , d_int , d_double , d_string } |
In an environment where a symbol such as '+' may have many different meanings, it's useful to specify a "domain of computation" to restrict attention to specific meanings of interest (e.g. More... | |
Functions | |
bool | vita::has_value (const value_t &v) |
std::ostream & | vita::operator<< (std::ostream &o, const value_t &v) |
Streams a value_t object. More... | |
Definition in file value.h.