template <typename PtrType_, typename TagType_ = DefaultObjectTag>

struct DefaultSinglyLinkedListTraits

Defined at line 233 of file ../../zircon/system/ulib/fbl/include/fbl/intrusive_single_list.h

DefaultSinglyLinkedListNodeState

<PtrType

, TagType>

The default implementation of traits needed to be a member of a singly linked

list. Any valid traits implementation must expose a static node_state method

compatible with DefaultSinglyLinkedListTraits

<PtrType

, TagType>::node_state(...).

To use the default traits, an object may...

1) Be friends with DefaultSinglyLinkedListTraits

<PtrType

, TagType> and have a

private sll_node_state_ member.

2) Have a public sll_node_state_ member (not recommended)

3) Derive from SinglyLinkedListable

<PtrType

> or

ContainableBaseClasses

<SinglyLinkedListable

<PtrType

, TagType> [...]>

(easiest)

Public Methods

auto & node_state (typename PtrTraits::RefType obj)

Defined at line 242 of file ../../zircon/system/ulib/fbl/include/fbl/intrusive_single_list.h