I have a function, which takes a parameter which is a pointer to pointer.
func(**pTmp);
Actually this pTmp is a raw pointer and pTmp I get is a unique pointer, so I need to pass the address of the raw pointer contained in unique pointer. I do it like this
func(&pTmp.get())
But I get this compilation error. lvalue required as unary & operand.
What am I doing Wrong?