HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by marcianx | Hacker News Reader
Parent
Full thread
marcianx
·
I'm far more inclined toward
img.assign(w*h, color);
myself.
View on HN
saagarjha
·
Normally I choose the methods in <algorithm> because they take an ExecutionPolicy parameter, allowing me to make this code parallel if I wish, but both are valid.
Reply on news.ycombinator.com