Fixed unexposed template parameters namespace resolution

This commit is contained in:
Bartek Kryza
2022-03-16 23:49:58 +01:00
parent c0a759c2c4
commit 3a7d22d527
13 changed files with 145 additions and 47 deletions

View File

@@ -3,6 +3,19 @@
#include <type_traits>
#include <vector>
namespace thirdparty {
namespace ns1 {
enum class color_t { red, green, blue };
struct E {
};
} // namespace ns1
namespace ns2 {
struct F {
};
} // namespace ns2
} // namespace thirdparty
namespace clanguml {
namespace t00038 {
@@ -21,6 +34,11 @@ struct key_t {
template <typename T> struct map;
using namespace thirdparty::ns1;
template <> struct map<std::integral_constant<color_t, color_t::red>> : E {
};
template <>
struct map<std::integral_constant<clanguml::t00038::property_t,
clanguml::t00038::property_t::property_a>> : A {