D
drrngrvy
Hi all,
Consider:
<>
namespace a {
namespace nested { class a_class {}; }
}
namespace b { using ::a::nested::a_class; }
namespace c { typedef ::a::nested::a_class a_class; }
</>
Is there any difference between b::a_class and c::a_class? I have a
feeling that b::a_class uses ADL, whereas c::a_class doesn't, but I'm
neither sure why [I think it] nor trust I have the right impression.
Are there any situations where there's a difference between the two?
Consider:
<>
namespace a {
namespace nested { class a_class {}; }
}
namespace b { using ::a::nested::a_class; }
namespace c { typedef ::a::nested::a_class a_class; }
</>
Is there any difference between b::a_class and c::a_class? I have a
feeling that b::a_class uses ADL, whereas c::a_class doesn't, but I'm
neither sure why [I think it] nor trust I have the right impression.
Are there any situations where there's a difference between the two?