Skip to main content

colour_code Struct

An ANSI colour escape sequence, to be written as it is. More...

Declaration​

struct micro_os_plus::micro_test_plus::detail::expression_formatter::colour_code { ... }

Public Member Attributes Index​

const char *sequence

The null-terminated escape sequence, possibly empty. More...

Description​

An ANSI colour escape sequence, to be written as it is.

A distinct type, so that the sequences are not written by the overloads for strings, which escape the control characters, ESC included.

Definition at line 1128 of file expression-formatter.h.

Public Member Attributes​

sequence​

const char* micro_os_plus::micro_test_plus::detail::expression_formatter::colour_code::sequence

The null-terminated escape sequence, possibly empty.

Not owned; it points into the colours of the formatter.

Definition at line 1136 of file expression-formatter.h.

1136 const char* sequence;

Referenced by micro_os_plus::micro_test_plus::detail::expression_formatter::operator<<.


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


Generated via doxygen2docusaurus 2.2.8 by Doxygen 1.18.0.