In C++17 the iterator library received size
, empty
, and data
allowing statically constructed arrays to behave like containers.
But I don't see a front
or back
function in the iterator library, which was added to the other containers in C++14: http://en.cppreference.com/mwiki/index.php?title=Special%3ASearch&search=front&button=
Is this something that has been proposed?
N4017 originally proposed
front
/back
.The Library Evolution Working Group voted to remove
front
/back
:[Source]
As a result N4107 was revised to N4155 and has been accepted sans
front
/back
.As of 02/18/16
front
/back
have not been reproposed: https://groups.google.com/a/isocpp.org/d/topic/std-discussion/eJdDI2q1xKg/discussion