Foundation
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
Ranges.hpp File Reference
#include <Core/Core.hpp>
#include <ranges>

Go to the source code of this file.

Classes

struct  Foundation::Bits::Ranges::ContainedBy< Range >
 Range predicate that checks if a value is contained within a given range. More...
 

Namespaces

namespace  Foundation
 
namespace  Foundation::Bits
 Header-only convenience utilities.
 
namespace  Foundation::Bits::Ranges
 std::ranges extensions and utilities.
 
namespace  Foundation::Bits::Views
 std::views extensions and utilities.
 

Functions

template<typename T >
constexpr Optional< range_value_t< T > > Foundation::Bits::Ranges::FirstOf (T &&range)
 Returns the first element of a range, or an empty Optional if the range is empty.