struct A { };
void foo(const A* const a) { }
void bar() { foo(&A()); }

これはまずい?
const参照使えば大丈夫なのは知ってるんだが
ポインタだとダメ?