Revert "coord/base: remove front/back methods"
This reverts commit 0b811e636e
.
This commit is contained in:
parent
cf3d58074f
commit
dfdd9421cd
@ -60,6 +60,12 @@ namespace util { namespace coord {
|
|||||||
auto begin (void) { return std::begin (this->data); }
|
auto begin (void) { return std::begin (this->data); }
|
||||||
auto end (void) { return std::end (this->data); }
|
auto end (void) { return std::end (this->data); }
|
||||||
|
|
||||||
|
const T& front (void) const { return this->data[0]; }
|
||||||
|
T& front (void) { return this->data[0]; }
|
||||||
|
|
||||||
|
const T& back (void) const { return this->data[S-1]; }
|
||||||
|
T& back (void) { return this->data[S-1]; }
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////
|
||||||
// conversions
|
// conversions
|
||||||
template <template <size_t, typename> class K>
|
template <template <size_t, typename> class K>
|
||||||
|
Loading…
Reference in New Issue
Block a user