Closed clasimoes closed 4 years ago
Vector iterator was declared without std:: namespace, which made compilation fail. I've updated this snippet to use a range for instead of iterators, which will make it compile and is also cleaner.
std::
Actually, this has been fixed in the extension repo: https://github.com/Bhupesh-V/30-seconds-of-cpp/blob/master/algorithm/generate.md
It will be updated with the next release of the extension, then.
Vector iterator was declared without
std::
namespace, which made compilation fail. I've updated this snippet to use a range for instead of iterators, which will make it compile and is also cleaner.