Program Listing for File RegexReplacer.hpp¶
↰ Return to documentation for file (src/rdf4cpp/regex/RegexReplacer.hpp)
#ifndef RDF4CPP_RDF_REGEX_REGEXREPLACER_HPP
#define RDF4CPP_RDF_REGEX_REGEXREPLACER_HPP
#include <memory>
#include <string>
namespace rdf4cpp::regex {
struct RegexReplacer {
using value_type = char;
private:
friend struct Regex;
struct Impl;
std::shared_ptr<Impl> impl_;
explicit RegexReplacer(std::shared_ptr<Impl> impl) noexcept;
public:
void regex_replace(std::string &str) const;
};
} //namespace rdf4cpp::regex
#endif //RDF4CPP_RDF_REGEX_REGEXREPLACER_HPP