exprt x("x", integer_type); // define an integer variable std::string x_id = x.id_string(); // retrieve the string "x"
exprt f("f", function_type); // define a function call std::string f_id = f.id_string(); // retrieve the string "f"In this example, we create a function call named `f`. We then retrieve its identifier string using the `id_string` function, which returns the string "f". Package/Library: This function is a part of the C++ front-end for the CPROVER tool suite.