5,337
edits
Line 295: | Line 295: | ||
====std::generate==== | ====std::generate==== | ||
[https://en.cppreference.com/w/cpp/algorithm/generate cppreference]<br> | |||
Allows you to fill a container using a function call<br> | Allows you to fill a container using a function call<br> | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> |