Typedef rdf4cpp::DeferredValue¶
Defined in File Literal.hpp
Typedef Documentation¶
-
using rdf4cpp::DeferredValue = std::pair<std::any, IRI>¶
The value of a Literal that is not (yet) placed into a node storage, together with the IRI of its datatype. A DeferredValue with a null datatype IRI is the null-value; it is what the numeric_*_deferred functions return on error and it propagates through them, just like the null-Literal does for Literal::add and friends.
Note
Use make_deferred_from_value or make_deferred_from_literal to construct one to avoid UB.
Warning
the dynamic type of the value must be the cpp_type of the datatype, otherwise it is undefined behaviour
Warning
IRI is an incomplete type in this header (see dynamic_datatype_eq_impl), so this must not be instantiated here.