#include using namespace std; #include "priv.h" foo::foo() { // inline member function priv_data1 = 2 ; priv_data2 = 9 ; } void foo::dump() { cout << "priv_data1 = " << priv_data1 << ", priv_data2 = " << priv_data2 << endl ; }