Constraints to C++ (prototype)