There is a new keyword in c++11 constexpr. If you haven't read
about it here are some good stuffs
Note: I'm using the "gcc version 4.8.0 20120307 (experimental)
Since we like to know what's up under the hood ...