I want to pass a pointer of pointer of object to a function but get the error
invalid conversion from 'CustomInterface**' to LocalLogger**'
I try something like this:
class LocalLogger
{}
class CustomInterface: public LocalLogger
{}
foo(LocalLogger** const obj)
{
    // do something
}
bar()
{
    CustomInterface** p_p_obj;
    CustomInterface* p_obj = new CustomInterface();
    p_p_obj = &p_obj;
    foo(p_p_obj);                      // <-- here is the error
}
This is very simplified but I need the pointer to pointer.