We use the google c++ style for C++ portions of TVM.
Any reasons why folks prefer a pass-by-pointer semantics for in-out parameters rather than a pass-by-reference model ? There are the obvious benefits that a reference can never be null and one doesn’t have to worry about null pointer checks in code if you want pass-by-reference.
Has this been discussed elsewhere or am I missing something simple ?
regards
Ramana