struct A {
  void (*f)(void);
};

template< typename R >
struct B : public A {
  void g()
  {
    A::f();
  }
};
template class B<bool>;


syntax highlighted by Code2HTML, v. 0.9.1