
std::vector<T,Allocator>::front - cppreference.com - C++ Reference
Returns a reference to the first element in the container. Calling front on an empty container causes undefined behavior.
std::array<T,N>::front - cppreference.com - C++ Reference
Returns a reference to the first element in the container. Calling front on an empty container causes undefined behavior.
std::inplace_vector<T,N>::front - cppreference.com - C++ Reference
Return value Reference to the first element. Complexity Constant. Notes For a container c, the expression c.front() is equivalent to *c.begin(). Example The following code uses front to display the …
std::forward_list<T,Allocator>:: front - cppreference.dev
Notes For a container c, the expression c.front() is equivalent to *c.begin().
std::deque<T,Allocator>::front - cppreference.com - C++ Reference
Return value Reference to the first element. Complexity Constant. Notes For a container c, the expression c.front() is equivalent to *c.begin(). Example
std::span<T,Extent>::front - cppreference.com - C++ Reference
Calling front on an empty span results in undefined behavior.
std::ranges::view_interface<D>:: front - cppreference.dev
The default implementation of front () member function returns the first element in the view of the derived type. Whether the element is returned by value or by reference depends on the operator* of the …
std::front_inserter - cppreference.com - C++ Reference
front_inserter is a convenience function template that constructs a std::front_insert_iterator for the container c with the type deduced from the type of the argument.
std::basic_string_view<CharT,Traits>::front - cppreference.com - C++ ...
Returns reference to the first character in the view. The behavior is undefined if empty() == true.
std::basic_string<CharT,Traits,Allocator>::front - cppreference.com ...
Returns reference to the first character in the string. The behavior is undefined if empty () is true.