first
first() states that a caller tolerates extras; it never reports several.
Source and package
- Qualified name
-
libtmux::first - Namespace
- libtmux
- Package
- libtmux-cxx
- Source
- include/libtmux/cardinality.hpp
- template <ReferenceRange Range> [[
C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.]] std::optional <Referenced<Range>> first(Range& range);template <typename Range> auto first(const Range&&) = delete;