Lines Matching defs:quote
39 /// Surrounds a string with quotes, escaping the quote itself if needed.
41 /// \param text The string to quote.
42 /// \param quote The quote character to use.
46 text::quote(const std::string& text, const char quote)
49 quoted << quote;
52 std::string::size_type last_pos = text.find(quote);
56 last_pos = text.find(quote, start_pos + 1);
60 quoted << quote;