mirror of
https://github.com/Z3Prover/z3
synced 2025-10-07 00:11:55 +00:00
call it data instead of c_ptr for approaching C++11 std::vector convention.
This commit is contained in:
parent
524dcd35f9
commit
4a6083836a
456 changed files with 2802 additions and 2802 deletions
|
@ -94,8 +94,8 @@ namespace datalog {
|
|||
relation_fact(ast_manager & m, unsigned sz) : app_ref_vector(m) { resize(sz); }
|
||||
relation_fact(context & ctx);
|
||||
|
||||
iterator begin() const { return c_ptr(); }
|
||||
iterator end() const { return c_ptr()+size(); }
|
||||
iterator begin() const { return data(); }
|
||||
iterator end() const { return data()+size(); }
|
||||
|
||||
relation_element operator[](unsigned i) const { return get(i); }
|
||||
el_proxy operator[](unsigned i) { return el_proxy(*this, i); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue