Return whether node is the left child of its parent.

Synopsis

Declared in <bslalg_rbtreeutil.h>

static
bool
isLeftChild(RbTreeNode const* node);

Description

Return true if the specified node is the left child of its parent, and false otherwise. The behavior is undefined unless 0 != node‐>parent().

Return Value

true if node is the left child of its parent

Parameters

Name

Description

node

node whose parent‐child relationship is tested

Created with MrDocs