Bienvenue sur la nouvelle documentation de CppUtils !
CppUtils::Container::MeshNodePtr::Branch<bool IsConst>
CLASSTypes publics
Section intitulée « Types publics »VectorAccessor
Section intitulée « 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> >;Méthodes et fonctions publiques
Section intitulée « Méthodes et fonctions publiques »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;