Get a reference to the next layer.
const next_layer_type & next_layer() const;
This function returns a reference to the next layer in a stack of stream layers.
A reference to the next layer in the stack of stream layers. Ownership is not transferred to the caller.