Electroneum
Namespaces | Typedefs | Functions
utils.hpp File Reference
#include <string>
#include <boost/variant/apply_visitor.hpp>
Include dependency graph for utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mstch
 

Typedefs

using mstch::citer = std::string::const_iterator
 
using mstch::criter = std::string::const_reverse_iterator
 

Functions

citer mstch::first_not_ws (citer begin, citer end)
 
citer mstch::first_not_ws (criter begin, criter end)
 
std::string mstch::html_escape (const std::string &str)
 
criter mstch::reverse (citer it)
 
template<class... Args>
auto mstch::visit (Args &&... args) -> decltype(boost::apply_visitor(std::forward< Args >(args)...))