I'm a bit confused about using-declarations. I understand that
Namespace resolution happens at compile time. You can not change them dynamically at run time.
One way to import different symbols depending on condition is to use preprocessor directives and macros:
#ifdef USEA using a::f; #else using b::f; #endif