Generic Framework for C++