[#kernel-operator_lshift] = xref:kernel.adoc[kernel]::operator<< :relfileprefix: ../ :mrdocs: Writes a human‐readable form of a chainstate role to a stream. == Synopsis Declared in `<kernel/chain.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& operator<<( std::ostream& os, xref:kernel/ChainstateRole.adoc[ChainstateRole] const& role); ---- == Return Value The output stream `os`. == Parameters [cols="1,4"] |=== | Name| Description | *os* | Output stream to write to. | *role* | Chainstate role to format. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#