One extra note: in GCC 4.6 there are compiler switches like 
-Wsuggest-attribute=const that generate suggestions for functions that are 
implicitly const (pure) but don't have a const attribute yet.

Bye,
bearophile

Reply via email to