basic C++ implementations for dedicated AQL functions