tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
empty.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<typename C>
constexpr auto empty (C const &c) noexcept(noexcept(c.empty())) -> decltype(c.empty())
 Returns whether the given container is empty.
 
template<typename T, size_t N>
constexpr auto empty (T(&array)[N]) noexcept -> bool
 Returns whether the given container is empty.