add maybeQuote()

Something for the *NIX gurus
to light their pipes with.
This commit is contained in:
Michael Davidsaver
2020-06-16 16:21:59 -07:00
parent 79b02254c4
commit f17d2bbca1
4 changed files with 62 additions and 14 deletions

View File

@@ -237,6 +237,14 @@ public:
std::ostream& operator<<(std::ostream& strm, const escape& Q);
};
struct maybeQuote {
const std::string& s;
maybeQuote(const std::string& s) :s(s) {}
};
epicsShareExtern
std::ostream& operator<<(std::ostream& strm, const maybeQuote& q);
}} // end namespace
#endif // PVTYPECAST_H