[boost] Compile-time conditional function invocation