static NodeSet::Ptr whereWrapper(NodeSet::Ptr nodeSet, std::shared_ptr<LuaGlueFunctionRef> p) { return nodeSet->where(std::bind( &LuaGlueFunctionRef::invoke<bool, std::shared_ptr<Node>>, p, std::placeholders::_1 )); }