mirror of
https://github.com/Z3Prover/z3
synced 2026-01-19 08:43: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 @@ protected:
|
|||
}
|
||||
|
||||
public:
|
||||
typedef T data;
|
||||
typedef T data_t;
|
||||
typedef T * iterator;
|
||||
typedef const T * const_iterator;
|
||||
|
||||
|
|
@ -184,7 +184,7 @@ public:
|
|||
return m_buffer[m_pos - 1];
|
||||
}
|
||||
|
||||
T * c_ptr() const {
|
||||
T * data() const {
|
||||
return m_buffer;
|
||||
}
|
||||
|
||||
|
|
@ -195,7 +195,7 @@ public:
|
|||
}
|
||||
|
||||
void append(const buffer& source) {
|
||||
append(source.size(), source.c_ptr());
|
||||
append(source.size(), source.data());
|
||||
}
|
||||
|
||||
T & operator[](unsigned idx) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue