Definition at line 289
of XPathFunction.cpp
: 290{ 291if (!arguments.empty()) 292{ 293throw std::runtime_error("sngxml::xpath::position() function requires no arguments"); 294} 295returnstd::unique_ptr<XPathObject>(new XPathNumber(context.Position())); 296}