| 268 | |
| 269 | template <typename T, typename Alloc> |
| 270 | inline void circular_buffer<T, Alloc>::push_front(const T& data) { |
| 271 | maybe_expand(); |
| 272 | auto p = &_impl.storage[mask(_impl.begin - 1)]; |
| 273 | _impl.construct(p, data); |
| 274 | --_impl.begin; |
| 275 | } |
| 276 | |
| 277 | template <typename T, typename Alloc> |
| 278 | inline void circular_buffer<T, Alloc>::push_front(T&& data) { |
no test coverage detected