mirror of
https://github.com/Z3Prover/z3
synced 2025-08-19 09:40:20 +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
|
@ -46,7 +46,7 @@ protected:
|
|||
}
|
||||
};
|
||||
public:
|
||||
typedef T * data;
|
||||
typedef T * data_t;
|
||||
|
||||
ref_vector_core() = default;
|
||||
ref_vector_core(Ref const & r) : Ref(r) {}
|
||||
|
@ -130,11 +130,11 @@ public:
|
|||
|
||||
T * get(unsigned idx, T * d) const { return m_nodes.get(idx, d); }
|
||||
|
||||
T * const * c_ptr() const { return m_nodes.begin(); }
|
||||
T * const * data() const { return m_nodes.begin(); }
|
||||
|
||||
typedef T* const* iterator;
|
||||
|
||||
T ** c_ptr() { return m_nodes.begin(); }
|
||||
T ** data() { return m_nodes.begin(); }
|
||||
|
||||
unsigned hash() const {
|
||||
unsigned sz = size();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue