28 template <
typename ... TRest>
29 std::string Change(TRest... 残りの要素)
31 std::ostringstream os;
38 template <
class TFirst,
typename ... TRest>
39 void Change(std::ostringstream& 文字列, TFirst 最初の要素, TRest... 残りの要素)
42 Change(文字列, 残りの要素...);
45 template <
class TFirst>
46 void Change(std::ostringstream& 文字列, TFirst 最初の要素)
55 template <
typename ... TStream>
60 std::string 分割する文字列 = Change(文字列ストリーム...);
66 while (終了位置 != std::string::npos)
68 終了位置 = 分割する文字列.find(
"\n", 開始位置);
70 StringS.push_back(分割する文字列.substr(開始位置, 終了位置 - 開始位置));
VariadicStream(TStream...文字列ストリーム)
コンストラクタ.
Definition: VariadicStream.h:58
std::vector< std::string > StringS
一行ずつの文字列.
Definition: VariadicStream.h:53
可変数引数な文字列を処理するクラス.
Definition: VariadicStream.h:25