array/parray: Add missing Container typedefs

This commit is contained in:
Danny Robson 2018-12-17 12:39:52 +11:00
parent a7786f04b9
commit 5144dd137a

View File

@ -23,6 +23,14 @@ namespace cruft {
> >
class parray { class parray {
public: public:
using value_type = DataT;
using size_type = SizeT;
using reference = DataT&;
using const_reference = DataT const&;
using iterator = DataT*;
using const_iterator = DataT const*;
using difference_type = std::ptrdiff_t;
parray (DataT *data, SizeT size); parray (DataT *data, SizeT size);
template <SizeT SizeV> template <SizeT SizeV>