fork download
  1. #include <iostream>
  2.  
  3. namespace A {
  4. void b(int x){
  5. std::cout << x;
  6. }
  7. void b(){
  8. std::cout << "b";
  9. }
  10. }
  11. namespace B {
  12. using A::b;
  13. }
  14. int main() {
  15. B::b();
  16. B::b(4);
  17. }
Success #stdin #stdout 0s 5300KB
stdin
Standard input is empty
stdout
b4