Hornet Dear Bernard

Dear, Dear Bernard

Const Correctness – C++ Tutorials

leave a comment »

There aren’t many aspects of C++ that C# doesn’t do at least as well at if not better.  The C++ const keyword is on such.  It not only declares constants but also allows contracts to enforce object immutability.

There are lots of tutorials out there; here’s one:

Const Correctness – C++ Tutorials – Cprogramming.com.


Written by bernardhornet

April 6, 2011 at 11:03 am

Posted in Uncategorized

Tagged with ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: