Use of boost::make_shared in query IN PROGRESS