{"type":"rich","published":"2013-08-04 02:36:26","blog_url":"https://fimbul.hateblo.jp/","blog_title":"\u3053\u3053\u306f\u5323","image_url":null,"height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffimbul.hateblo.jp%2Fentry%2F2013%2F08%2F04%2F023626\" title=\"\u4ee5\u4e0b\u306e\u8981\u7d20\u306e\u53c2\u7167\u306f\u66d6\u6627\u304b - \u3053\u3053\u306f\u5323\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/fimbul/","title":"\u4ee5\u4e0b\u306e\u8981\u7d20\u306e\u53c2\u7167\u306f\u66d6\u6627\u304b","categories":[],"url":"https://fimbul.hateblo.jp/entry/2013/08/04/023626","author_name":"fimbul","description":"#include <type_traits> namespace test { template<int... args> struct test { static constexpr auto value = 1; }; } int main() { using namespace test; static_assert(test<1>::value == 1, \"\"); // test<1>::value\u306fambiguous? } \u3042\u308bnamespace\u5185\u306b\u540c\u540d\u306etemplate struct\u304c\u5b58\u5728\u3057\u3066\u304a\u308a\u3001\u305d\u306e\u4e2d\u306b\u9759\u7684\u306a\u30e1\u30f3\u30d0\u304c\u5b58\u5728\u3057\u3066\u3044\u307e\u3059\u3002 using namespace\u3092\u884c\u3063\u305f\u4e0a\u3067\u2026","provider_name":"Hatena Blog","width":"100%","provider_url":"https://hatena.blog","version":"1.0"}