mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
enforce stringstream formatting to avoid default format routine. fixes issue #149
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
3fd5d0eaba
commit
940fed16e1
6 changed files with 71 additions and 44 deletions
|
@ -40,8 +40,9 @@ public:
|
|||
class default_exception : public z3_exception {
|
||||
std::string m_msg;
|
||||
public:
|
||||
struct fmt {};
|
||||
default_exception(std::string const& msg);
|
||||
default_exception(char const* msg, ...);
|
||||
default_exception(fmt, char const* msg, ...);
|
||||
virtual ~default_exception() {}
|
||||
virtual char const * msg() const;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue