(C++) std::iota

February 24, 2017 · View on GitHub

 

 

 

 

 

(C++) std::iota

 

std::iota is a C++11 STL algorithm.

std::iota can be found in the header file algorithm.h.

 

 

 

 

 

Examples

 

  • std::iota example 1: basics