mirror of
https://github.com/Z3Prover/z3
synced 2025-08-12 22:20:54 +00:00
print output file name
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
8904a50103
commit
0db0efce9f
4 changed files with 178 additions and 139 deletions
|
@ -64,6 +64,16 @@ void indexed_vector<T>::erase_from_index(unsigned j) {
|
|||
m_index.erase(it);
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
void indexed_vector<T>::erase(unsigned j) {
|
||||
auto it = std::find(m_index.begin(), m_index.end(), j);
|
||||
if (it != m_index.end()) {
|
||||
m_data[j] = 0;
|
||||
m_index.erase(it);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
template <typename T>
|
||||
void indexed_vector<T>::print(std::ostream & out) {
|
||||
out << "m_index " << std::endl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue