23#ifndef VCL_MESH_VIEWS_ELEMENTS_ELEMENT_H
24#define VCL_MESH_VIEWS_ELEMENTS_ELEMENT_H
26#include <vclib/base.h>
34inline constexpr auto index = [](
auto&& p) -> uint {
35 if constexpr (IsPointer<
decltype(p)>) {
36 if (p ==
nullptr) [[unlikely]]
47 constexpr IndexView() =
default;
49 template<std::ranges::range R>
50 friend constexpr auto operator|(R&& r, IndexView)
52 return std::forward<R>(r) | std::views::transform(index);
58inline constexpr detail::IndexView indices;
constexpr uint UINT_NULL
The UINT_NULL value represent a null value of uint that is the maximum value that can be represented ...
Definition base.h:48