{"url":"https://osyo-manga.hatenadiary.org/entry/20130805/1375705044","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fosyo-manga.hatenadiary.org%2Fentry%2F20130805%2F1375705044\" title=\"Clang(svn) \u306b Relaxing constraints on constexpr functions \u304c\u5b9f\u88c5\u3055\u308c\u3066\u3044\u305f - C++\u3067\u30b2\u30fc\u30e0\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://osyo-manga.hatenadiary.org/","published":"2013-08-05 21:17:24","version":"1.0","title":"Clang(svn) \u306b Relaxing constraints on constexpr functions \u304c\u5b9f\u88c5\u3055\u308c\u3066\u3044\u305f","provider_url":"https://hatena.blog","width":"100%","height":"190","image_url":null,"categories":["C++","clang"],"author_url":"https://blog.hatena.ne.jp/osyo-manga/","provider_name":"Hatena Blog","author_name":"osyo-manga","blog_title":"C++\u3067\u30b2\u30fc\u30e0\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","description":"\u591a\u5206\u3001\u5148\u6708\u672b\u3060\u3068\u601d\u3046\u3093\u3067\u3059\u304c Clang \u306b Relaxing constraints on constexpr functions \u304c\u5b9f\u88c5\u3055\u308c\u307e\u3057\u305f\u3002 C++11 \u306e constexpr \u95a2\u6570\u306f\u3044\u308d\u3044\u308d\u3068\u5236\u9650\u304c\u3042\u3063\u305f\u3093\u3067\u3059\u304c\u3001C++14 \u3067\u306f\u3053\u308c\u304c\u7de9\u548c\u3055\u308c\u3001\u4e00\u822c\u30e6\u30fc\u30b6\u30fc\uff08\u975e\u4e2d3\u5973\u5b50\uff09\u306b\u3082\u6271\u3044\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002 \u4f8b\u3048\u3070\u6b21\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 [\u30bd\u30fc\u30b9] constexpr int abs(int x){ if( x < 0 ){ x = -x; } return x; } template<int Size> constexpr int max(int const (&arr\u2026"}