3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00

Simplify data-structures

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-01-05 11:51:58 -08:00
parent 14827e94f0
commit 322d355290
2 changed files with 193 additions and 132 deletions

View file

@ -176,6 +176,10 @@ public:
}
T * c_ptr() { return m_data; }
void swap(array & other) {
std::swap(m_data, other.m_data);
}
};
template<typename T>