purity

C++ compile time purity checks?

Is it possible to specify compile time "purity" checks in C++? I.e.: this function does not read from anything other than it's arguments this function does not write to anything; it only returns the return value ...

Inline styles for one-offs?

Do you guys ever use inline styles for one-offs? For example, I wanted to make just one particular list on my site use letters: <ol style="list-style-type:lower-alpha"> Is that really so bad? Or would you slap on an ID and then bury it in your big master CSS file where it will be a pain to ever find again? ...