Global Namespace

Overview

// namespaces

namespace detangled;

// global functions

template <typename T>
std::ostream&
operator<<(std::ostream& out, const ::detangled::raw_tree<T>& t);

template <typename T>
std::ostream&
operator<<(std::ostream& out, const ::detangled::raw_tree<T>& t);

// macros

#define RAW_TREE_MAKE_ALIAS(prefix, order, wing)
#define SWITCH_ON_SIDE(function_name, ...)

Detailed Documentation

Macros

#define RAW_TREE_MAKE_ALIAS(prefix, order, wing)

Compact method names for various iterator types. The generic construction of the name is in the form of order + wing_short + ("begin" | "end").

e.g.

prelbegin (order = pre, wing = left  (l), begin)
inrend    (order = in,  wing = right (r), end)

Parameters:

prefix

is the prefix we are making an alias with e.g. postl

order

is the traversal_order to map with e.g. traversal_order::post

wing

is the side we are using in the alias e.g. side::left