move cpp stateless