mirror of
https://github.com/Z3Prover/z3
synced 2026-01-19 16:53:18 +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
|
|
@ -69,7 +69,7 @@ private:
|
|||
}
|
||||
|
||||
public:
|
||||
typedef T data;
|
||||
typedef T data_t;
|
||||
typedef T * iterator;
|
||||
typedef const T * const_iterator;
|
||||
|
||||
|
|
@ -181,8 +181,8 @@ public:
|
|||
return m_data + size();
|
||||
}
|
||||
|
||||
T const * c_ptr() const { return m_data; }
|
||||
T * c_ptr() { return m_data; }
|
||||
T const * data() const { return m_data; }
|
||||
T * data() { return m_data; }
|
||||
|
||||
void swap(array & other) {
|
||||
std::swap(m_data, other.m_data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue