I'm trying to pass a smart pointer as a parameter of a function which takes a pointer of a pointer. I was wondering if there is any proper solution for that.
foo(Class** input)
{
// Do something
}
myClass = std::make_Unique<Class>();
foo(&myClass.get())