Commit ad43e201 authored by Dominik Charousset's avatar Dominik Charousset

Add missing type aliases to cow_vector

parent 3fcdd263
......@@ -19,12 +19,16 @@ class cow_vector {
public:
// -- member types -----------------------------------------------------------
using std_type = std::vector<T>;
using value_type = T;
using std_type = std::vector<value_type>;
using size_type = typename std_type::size_type;
using const_iterator = typename std_type::const_iterator;
using difference_type = typename std_type::difference_type;
using const_reverse_iterator = typename std_type::const_reverse_iterator;
// -- constructors, destructors, and assignment operators --------------------
......
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