Skip to content

Can .items() be used with std algorithms like transform #4398

Closed Answered by gregmarr
av4625 asked this question in Q&A
Discussion options

You must be logged in to vote

Are you missing code in the sample? You need to either set the size of tracks to be the same as the number of entries in config or use the back_inserter wrapper to resize the vector as it goes.
https://godbolt.org/z/xnTMPdTKr

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@av4625
Comment options

Answer selected by av4625
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants