Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template< class ForwardIt, class T >
- void fill_range(ForwardIt first, ForwardIt last, const T& value)
- {
- while(first != last)
- {
- *first = value;
- ++ first;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement