4#ifndef TETL_ITERATOR_EMPTY_HPP
5#define TETL_ITERATOR_EMPTY_HPP
7#include <etl/_cstddef/size_t.hpp>
8#include <etl/_utility/ignore_unused.hpp>
16constexpr auto empty(C
const& c)
noexcept(
noexcept(
c.
empty())) ->
decltype(c.empty())
23template <
typename T, size_t N>
24constexpr auto empty(T (&array)[N])
noexcept ->
bool
26 etl::ignore_unused(&array);
constexpr auto empty(C const &c) noexcept(noexcept(c.empty())) -> decltype(c.empty())
Returns whether the given container is empty.
Definition empty.hpp:16
constexpr auto empty(T(&array)[N]) noexcept -> bool
Returns whether the given container is empty.
Definition empty.hpp:24
Definition adjacent_find.hpp:9