Commit 5c94d653 authored by Nicholas Ormrod's avatar Nicholas Ormrod Committed by Facebook GitHub Bot

Add cr(begin,end) to sorted_vector

Summary: Standard containers are expected to have cr iterator variants.

Reviewed By: yfeldblum

Differential Revision: D33165480

fbshipit-source-id: fa6ca8899afc22fed3502ef7ed03723047c129e4
parent b665a38d
......@@ -878,7 +878,9 @@ class sorted_vector_map : detail::growth_policy_wrapper<GrowthPolicy> {
const_iterator end() const { return m_.cont_.end(); }
reverse_iterator rbegin() { return m_.cont_.rbegin(); }
reverse_iterator rend() { return m_.cont_.rend(); }
const_reverse_iterator crbegin() const { return m_.cont_.crbegin(); }
const_reverse_iterator rbegin() const { return m_.cont_.rbegin(); }
const_reverse_iterator crend() const { return m_.cont_.crend(); }
const_reverse_iterator rend() const { return m_.cont_.rend(); }
void clear() { return m_.cont_.clear(); }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment