webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Friends | List of all members
WebCore::TextStreamSeparator Class Reference

Public Member Functions

 TextStreamSeparator (const String &s)
 

Friends

TextStreamoperator<< (TextStream &, TextStreamSeparator &)
 

Detailed Description

class + iomanip to help streaming list separators, i.e. ", " in string "a, b, c, d" Can be used in cases where you don't know which item in the list is the first one to be printed, but still want to avoid strings like ", b, c".

Constructor & Destructor Documentation

◆ TextStreamSeparator()

WebCore::TextStreamSeparator::TextStreamSeparator ( const String s)
inline

Friends And Related Function Documentation

◆ operator<<

TextStream& operator<< ( TextStream ts,
TextStreamSeparator sep 
)
friend

The documentation for this class was generated from the following file: