Move implementation of USDT::Argument into cc file
To avoid exposing the implementation of new/delete of the Argument class, move it out of the header file. This also requires making private the std::string members, so that they cannot be assigned to directly. Let the ArgumentParser assign to them as a friend, and expose const functions to access them as const only from the client. Also, convert non-const reference usages to pass-by-pointer.
Showing
Please register or sign in to comment