Commit 4f44a6c8 authored by Dominik Charousset's avatar Dominik Charousset

Merge branch topic/neverlord/missing-type-aliases

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