• Brenden Blanco's avatar
    Move implementation of USDT::Argument into cc file · 2a520481
    Brenden Blanco authored
    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.
    2a520481
usdt.h 2.32 KB