General Utility Library for C++14  2.11
Namespaces | Functions
escape.h File Reference

Detailed Description

Declaration of escape(), unescape().

General Utility Library Contributors
Created on 31 August 2018

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2.1 of the license, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see

#include <string>
#include "gul14/internal.h"
#include "gul14/string_view.h"
Include dependency graph for escape.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


 Namespace gul14 contains all functions and classes of the General Utility Library.


GUL_EXPORT std::string gul14::escape (string_view in)
 Create a new string that looks like an ASCII-only C string literal of the input string. More...
GUL_EXPORT std::string gul14::unescape (string_view in)
 Evaluate a string with escaped characters to get the original string back. More...