23#ifndef VCL_VIEWS_MESH_ELEMENTS_ELEMENT_H
24#define VCL_VIEWS_MESH_ELEMENTS_ELEMENT_H
26#include <vclib/concepts/pointers.h>
27#include <vclib/types.h>
35inline constexpr auto index = [](
auto&& p) -> uint {
36 if constexpr (IsPointer<
decltype(p)>) {
37 if (p ==
nullptr) [[unlikely]]
48 constexpr IndexView() =
default;
50 template<std::ranges::range R>
51 friend constexpr auto operator|(R&& r, IndexView)
53 return std::forward<R>(r) | std::views::transform(index);
59inline 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