c++ namespace, latex beamer frame