Add util::span::data
This commit is contained in:
parent
5255abd66a
commit
6e49551045
1 changed files with 2 additions and 0 deletions
|
|
@ -43,6 +43,8 @@ namespace psemek::util
|
|||
, p_end{a.data() + N}
|
||||
{}
|
||||
|
||||
T * data() const { return p_begin; }
|
||||
|
||||
T * begin() const { return p_begin; }
|
||||
T * end() const { return p_end; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue