Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Animats
· 10y ago · 0 comments
I didn't realize that as of C++14, you can now execute loops at compile time. Does that work in many compilers?
Comments
[–]
hellofunk
10y ago
Wouldn't any fully standards compliant compiler for c++14 support that feature?
[–]
burfog
10y ago
gcc's optimizer will often do it for plain C
(recent versions at least)