Feature/house dialog (#75)

This commit is contained in:
Zero Fanker 2024-07-04 06:52:41 +08:00 committed by GitHub
parent 487df9bead
commit 98cf96b927
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 257 additions and 50 deletions

View file

@ -80,4 +80,15 @@ public:
return ret;
}
template<typename TContainer>
static inline CString Join(const TContainer& strings, char ch = ',') {
CString ret;
for (auto const& item : strings) {
ret += item;
ret += ch;
}
ret.Delete(ret.GetLength() - 1, 1);
return ret;
}
};