|Did you know ...||Search Documentation:|
The most useful area for exploiting C++ features is type-conversion.
Prolog variables are dynamically typed and all information is passed
around using the C-interface type
term_t. In C++,
is embedded in the lightweight class PlTerm.
Constructors and operator definitions provide flexible operations and
integration with important C-types (
The list below summarises the classes defined in the C++ interface.
operator is overloaded to access elements in this vector. PlTermv is used to build complex terms and provide argument-lists to Prolog goals.
The required C(++) function header and registration of a predicate is arranged through a macro called PREDICATE().