Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template <class InputIterator>
- basic_string::basic_string(InputIterator begin, InputIterator end, const Allocator& a = Allocator())
- : basic_string(distance(begin, end), ' ', a){
- size_t i = 0;
- for(auto it = begin; it != end; ++it, ++i) this->s[i] = *it;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement