3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 10:55:50 +00:00

avoid a few str copies + symbol hiding

This commit is contained in:
Nuno Lopes 2019-03-08 10:13:46 +00:00
parent 70ada9919e
commit cd4b53500c
13 changed files with 22 additions and 33 deletions

View file

@ -179,7 +179,7 @@ namespace api {
// Store a copy of str in m_string_buffer, and return a reference to it.
// This method is used to communicate local/internal strings with the "external world"
char * mk_external_string(char const * str);
char * mk_external_string(std::string const & str);
char * mk_external_string(std::string && str);
// Create a numeral of the given sort
expr * mk_numeral_core(rational const & n, sort * s);