libzypp 17.31.32
zypp::MLSep Struct Reference

Helper to produce not-NL-terminated multi line output. More...

#include <base/LogTools.h>

Public Attributes

bool _first = true
 

Detailed Description

Helper to produce not-NL-terminated multi line output.

Used as leading separator it prints a separating NL by omitting output upon it's first invocation.

Container foo { 1,2,3 };
for ( auto && el : foo )
cout << sep << el;
# "1\n2\n3"
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Definition AutoDispose.h:94
Helper to produce not-NL-terminated multi line output.
Definition LogTools.h:45

Definition at line 44 of file LogTools.h.

Member Data Documentation

◆ _first

bool zypp::MLSep::_first = true

Definition at line 45 of file LogTools.h.


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