Lines Matching refs:std
49 template <typename InputIt> std::string encode(InputIt first, InputIt last) {
50 std::string res;
58 auto p = std::begin(res);
157 assert(std::distance(first, last) % 4 == 0);
193 template <typename InputIt> std::string decode(InputIt first, InputIt last) {
194 auto len = std::distance(first, last);
198 std::string res;
201 res.erase(decode(first, last, std::begin(res)), std::end(res));
208 auto len = std::distance(first, last);