smithlab_cpp