Page 1 of 1

Be const-correct!

Posted: Thu Mar 04, 2010 9:18 am
by randomMesh
We all know that writing const-correct code is important to write tighter, safer code that is easier to manage.
Here's a nice article i found which explains how to do so.

Posted: Fri Mar 05, 2010 7:19 pm
by arras
Nice and simple article. Thanks :)

Posted: Sun Mar 07, 2010 9:14 am
by pippy3
Cool stuff. I never was sure where to use const functions before

Posted: Sat May 08, 2010 11:19 am
by kingdutch
I hate the fact you always come up with links in chat when I talk about something. However I shall, as always, read the article, thanks for sharing ;)

Posted: Mon May 10, 2010 3:54 am
by d3jake
Good find! I've already been doing some of this, and I suppose it wouldn't hurt to go full out with it, when done correctly.

Posted: Thu Mar 24, 2011 1:59 am
by ChaiRuiPeng
kingdutch wrote:I hate the fact you always come up with links in chat when I talk about something. However I shall, as always, read the article, thanks for sharing ;)
:wink: dont be upset.

a fool is the man who passes down the best treasure of all, knowledge.

Posted: Thu Mar 24, 2011 6:42 am
by Brainsaw
Nice article, thanks for sharing. I'll try to make my code const-correct in the future ;)