some c++ specifics