hook .hpp to c++-mode