GCC Middle and Back End API Reference
default_splay_tree_accessors_with_parent< Node > Class Template Reference

#include <splay-tree-utils.h>

Inheritance diagram for default_splay_tree_accessors_with_parent< Node >:
Collaboration diagram for default_splay_tree_accessors_with_parent< Node >:

Public Types

using node_type = Node
 

Static Public Member Functions

static auto parent (node_type node) -> decltype(node->m_parent) &
 
static auto child (node_type node, unsigned int index) -> decltype(node->m_children[index]) &
 

Member Typedef Documentation

◆ node_type

template<typename Node >
using default_splay_tree_accessors_with_parent< Node >::node_type = Node

Member Function Documentation

◆ child()

template<typename Node >
static auto default_splay_tree_accessors< Node >::child ( node_type node,
unsigned int index ) -> decltype (node->m_children[index]) &
inlinestaticinherited

◆ parent()

template<typename Node >
static auto default_splay_tree_accessors_with_parent< Node >::parent ( node_type node) -> decltype (node->m_parent) &
inlinestatic

The documentation for this class was generated from the following file: