Skeleton construction in C++