|
Console Library 4.7.0
A header-only library that makes C++ simple
|
字符串分区结果,包含左部分、分隔符、右部分。 More...
#include <strpp.h>
Public Attributes | |
| std::string | left |
| 分隔符前的子串 | |
| std::string | middle |
| 分隔符本身 | |
| std::string | right |
| 分隔符后的子串 | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const PartitionResult &pr) |
| 输出分区结果到流,格式为 ("left", "middle", "right")。 | |
字符串分区结果,包含左部分、分隔符、右部分。
|
friend |
输出分区结果到流,格式为 ("left", "middle", "right")。
| os | 输出流。 |
| pr | 分区结果对象。 |
| std::string console::PartitionResult::left |
分隔符前的子串
| std::string console::PartitionResult::middle |
分隔符本身
| std::string console::PartitionResult::right |
分隔符后的子串