| 3 | #include <random> |
| 4 | |
| 5 | std::vector<StringBox> internStrings(StringCache& stringCache, const std::vector<std::string>& strings) { |
| 6 | std::vector<StringBox> cachedStrings; |
| 7 | |
| 8 | for (const auto& str : strings) { |
| 9 | cachedStrings.emplace_back(stringCache.makeString(str)); |
| 10 | } |
| 11 | |
| 12 | return cachedStrings; |
| 13 | } |
| 14 | |
| 15 | std::default_random_engine generator; |
| 16 | std::uniform_int_distribution<int> distribution(' ', '~'); |
no test coverage detected