Changeset View
Changeset View
Standalone View
Standalone View
source/blender/functions/FN_generic_span.hh
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||||
| #pragma once | #pragma once | ||||
| /** \file | /** \file | ||||
| * \ingroup fn | * \ingroup fn | ||||
| */ | */ | ||||
| #include "BLI_cpp_type.hh" | |||||
| #include "BLI_span.hh" | #include "BLI_span.hh" | ||||
| #include "FN_cpp_type.hh" | |||||
| namespace blender::fn { | namespace blender::fn { | ||||
| /** | /** | ||||
| * A generic span. It behaves just like a blender::Span<T>, but the type is only known at run-time. | * A generic span. It behaves just like a blender::Span<T>, but the type is only known at run-time. | ||||
| */ | */ | ||||
| class GSpan { | class GSpan { | ||||
| protected: | protected: | ||||
| const CPPType *type_; | const CPPType *type_; | ||||
| ▲ Show 20 Lines • Show All 150 Lines • Show Last 20 Lines | |||||