This file defines the operator&(LFunctionConstructor,T)
Definition in file lextvar.hpp.
#include "../genlisp/extvar.hpp"
Include dependency graph for lextvar.hpp:
Go to the source code of this file.
Functions | |
template<class Tt> | |
SReference | operator & (const LFunctionConstructor &, Tt &var) |
Lisp external variable expression constructor. |
|
Lisp external variable expression constructor. Operator to form a pair of SExpressionIndirectAccessor and SExpressionIndirect, to be used with LFunctionConstructor. The operator takes a C++ lvalue of either any integer, float, or SString or SReference type. The operator forms a dotted pair in which the car is a SExpressionIndirectAccessor object and the cdr is a SExpressionIndirect object which incapsulates the given lvalue. Being evaluated, such a pair returns the current value of the variable; being used as the first argument of SETF, it performs the appropriate assignment. Definition at line 42 of file lextvar.hpp. |