General Utility Library for C++17 25.4.1
escape.h
Go to the documentation of this file.
1
23#ifndef GUL17_ESCAPE_H_
24#define GUL17_ESCAPE_H_
25
26#include <string_view>
27#include <string>
28
29#include "gul17/internal.h"
30
31namespace gul17 {
32
74GUL_EXPORT
75std::string escape(std::string_view in);
76
88GUL_EXPORT
89std::string unescape(std::string_view in);
90
92
93} // namespace gul17
94
95#endif
96
97/* vim:set noexpandtab softtabstop=4 tabstop=4 shiftwidth=4 textwidth=90 cindent: */
auto constexpr bit_set(unsigned bit) noexcept -> ReturnT
Set a bit in an integral type.
Definition bit_manip.h:121
GUL_EXPORT std::string unescape(std::string_view in)
Evaluate a string with escaped characters to get the original string back.
GUL_EXPORT std::string escape(std::string_view in)
Create a new string that looks like an ASCII-only C string literal of the input string.
Definition of macros used internally by GUL.
Namespace gul17 contains all functions and classes of the General Utility Library.
Definition doxygen.h:26