prog.cpp: In member function ‘char* B<T, A>::hoge()’:
prog.cpp:7: error: non-template ‘rebind’ used as template
prog.cpp:7: note: use ‘A::template rebind’ to indicate that it is a template
prog.cpp:7: error: declaration does not declare anything
prog.cpp:8: error: ‘d’ was not declared in this scope