General Utility Library for C++17 26.5.0
escape.h
Go to the documentation of this file.
1
26#ifndef GUL17_ESCAPE_H_
27#define GUL17_ESCAPE_H_
28
29#include <string_view>
30#include <string>
31
32#include "gul17/internal.h"
33
34namespace gul17 {
35
77GUL_EXPORT
78std::string escape(std::string_view in);
79
91GUL_EXPORT
92std::string unescape(std::string_view in);
93
95
96} // namespace gul17
97
98#endif
99
100/* 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:124
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:29