pstore2
Functions
quoted.hpp File Reference

Wrapping quotation marks around strings for output to the user. More...

#include <iomanip>
#include "pstore/support/gsl.hpp"
Include dependency graph for quoted.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

auto pstore::quoted (gsl::czstring const str)
 Wraps quotation marks around a string for presentation to the user. More...
 
auto pstore::quoted (std::string const &str)
 Wraps quotation marks around a string for presentation to the user. More...
 

Detailed Description

Wrapping quotation marks around strings for output to the user.

Function Documentation

◆ quoted() [1/2]

auto pstore::quoted ( gsl::czstring const  str)
inline

Wraps quotation marks around a string for presentation to the user.

Intended for use as an io-manipulator.

Parameters
strThe string to be wrapped in quotation marks.

◆ quoted() [2/2]

auto pstore::quoted ( std::string const &  str)
inline

Wraps quotation marks around a string for presentation to the user.

Intended for use as an io-manipulator.

Parameters
strThe string to be wrapped in quotation marks.