Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dzorz
· 15y ago · 0 comments
next_permutation is in standard library (header algorithm).
Comments
[–]
makmanalp
15y ago
For the curious, STL <algorithm> is one of those things that you wish you knew ages ago. Usually my code is much cleaner after I run through it and replace relevant parts of it with STL stuff.
http://www.cplusplus.com/reference/algorithm/