[boost] generating unique ordinal value at compile time