powerd++  0.4.4
Public Member Functions | Public Attributes | List of all members
utility::Underlined Struct Reference

A line of text and an underlining line. More...

#include <utility.hpp>

Collaboration diagram for utility::Underlined:
[legend]

Public Member Functions

 operator std::string () const
 Implicit conversion to std::string. More...
 

Public Attributes

std::string text
 The text with printf-style escapes.
 
std::string line
 Aligned underlining characters ^~~~.
 

Detailed Description

A line of text and an underlining line.

The text and the line are kept in a separate string to ease indenting them.

Member Function Documentation

◆ operator std::string()

utility::Underlined::operator std::string ( ) const
inline

Implicit conversion to std::string.

Convenient if indentation is not required.


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