\brief Wraps `std::vector<>::%push_back()`.
| 39 | |
| 40 | //! \brief Wraps `std::vector<>::%push_back()`. |
| 41 | void PushBack(const T& element) { |
| 42 | base::AutoLock lock_owner(lock_); |
| 43 | vector_.push_back(element); |
| 44 | } |
| 45 | |
| 46 | //! \brief Atomically clears the underlying vector and returns its previous |
| 47 | //! contents. |