Advanced queries with c++ checkers