{"width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20240903%2Fp1\" title=\"C++ std::strong_order\u3068\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u578btotalOrder - yohhoy\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"C++20\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306estd::strong_order\u95a2\u6570\u30aa\u30d6\u30b8\u30a7\u30af\u30c8*1\u306f\u3001IEEE 754\u6e96\u62e0\u306e\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u578b\u306b\u5bfe\u3059\u308b\u5168\u9806\u5e8f\u6bd4\u8f03\uff08totalOrder predicate\uff09\u3092\u5b9f\u88c5\u3059\u308b\u3002 #include <compare> #include <concepts> #include <iostream> #include <limits> #include <map> #include <string> template<std::floating_point T> struct totalOrder { static_assert(std::numeric_limits<T>::is\u2026","title":"C++ std::strong_order\u3068\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u578btotalOrder","author_url":"https://blog.hatena.ne.jp/yohhoy/","provider_url":"https://hatena.blog","image_url":null,"provider_name":"Hatena Blog","version":"1.0","published":"2024-09-03 00:00:00","categories":["C++"],"height":"190","type":"rich","blog_url":"https://yohhoy.hatenadiary.jp/","blog_title":"yohhoy\u306e\u65e5\u8a18","author_name":"yohhoy","url":"https://yohhoy.hatenadiary.jp/entry/20240903/p1"}