Welcome to the new CppUtils documentation!
CppUtils::Container::MeshNodePtr::Branch<bool IsConst>
CLASSPublic types
Section titled “Public types”VectorAccessor
Section titled “VectorAccessor”using CppUtils::Container::MeshNodePtr< Key, Value, Policy >::Branch< IsConst >::VectorAccessor = std::conditional_t<IsConst, Thread::ReadOnlyAccessor<std::vector<Link> >, Thread::Accessor<std::vector<Link>, Thread::SharedMutex> >;Public methods & functions
Section titled “Public methods & functions”constexpr Branch::Branch(MeshNodePtr parent, Key key, SafeShared<std::vector<Link>> branchLinks, VectorAccessor vectorAccessor);constexpr auto Branch::clear() -> void requires (not IsConst) { m_vectorAccessor.reset(); MeshNodePtr::detach(m_parent, m_key); } [[nodiscard]] constexpr auto operator[](std::size_t index) const -> std::expected<MeshNodePtr, std::string_view>;[[nodiscard]] constexpr auto Branch::operator[](std::size_t index) const -> std::expected<MeshNodePtr, std::string_view>;template <bool OtherIsConst>constexpr auto Branch::operator&(const Branch<OtherIsConst> &other) -> void;template <bool OtherIsConst>constexpr auto Branch::operator/(const Branch<OtherIsConst>& other) -> void requires (not IsConst) { m_vectorAccessor.reset(); other.m_vectorAccessor.reset(); MeshNodePtr::detach(other.m_key, m_parent, m_key, other.m_parent); } [[nodiscard]] constexpr auto front() const;