support for the wrapping op xmlquery in a unique_ptr