Is there any other gain from using const in C (C99) than for signalling immutability? (like compiler optimizations) @cmuratori @nothings
-
-
Replying to @martin_cohen
@martin_cohen There's this: http://stackoverflow.com/a/14629896 . Doesn't seem too amazing, but okay I guess.1 reply 0 retweets 1 like -
Replying to @Maraneshi
@Dghelneshi
@martin_cohen It's mostly useless, because of const cast. The number of cases where it actually helps the compiler are minimal.2 replies 0 retweets 1 like
@Dghelneshi @martin_cohen I don't know specifically about C99, though - maybe it is better spec'd than C++?
8:04 PM - 27 Nov 2015
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.