std::regex_match with another Allocator
问题 I'm stuck how to use the regex_match template with my own Memory STL Allocator. This is my code: FaF::smatch stringResults; std::regex expression( "expression" ); std::regex_match( FaF::string-variable, stringResults, expression ); For std::match and std::string I was successful and therefore I use it in the above example: namespace FaF { using smatch = std::match_results<std::string::const_iterator, Allocator<std::string::const_iterator>>; using string = std::basic_string<char, std::char