array/parray: Add missing Container typedefs
This commit is contained in:
parent
a7786f04b9
commit
5144dd137a
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user