{"categories":["C++","Windows"],"blog_title":"potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2","title":"C++23Preview&Win API \u30ed\u30fc\u30ab\u30eb\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u306e\u30c7\u30d0\u30a4\u30b9\u5217\u6319\u5b50\u3068\u30c7\u30d0\u30a4\u30b9ID\u30ea\u30b9\u30c8\u306e\u53d6\u5f97","width":"100%","published":"2022-11-03 15:00:27","type":"rich","author_url":"https://blog.hatena.ne.jp/potisan/","description":"CM\u7cfb\u306eAPI\u3092\u4f7f\u7528\u3057\u3066\u30ed\u30fc\u30ab\u30eb\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u306e\u30c7\u30d0\u30a4\u30b9\u5217\u6319\u5b50\u3068\u30c7\u30d0\u30a4\u30b9ID\u30ea\u30b9\u30c8\u3092\u53d6\u5f97\u3059\u308b\u30b3\u30fc\u30c9\u3067\u3059\u3002C++23\u3067\u5c0e\u5165\u4e88\u5b9a\u306estd::ranges::to\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\uff08MSVC\u306ePreview\u7248\uff09\u3002 #include <ranges> #include <algorithm> #include <iostream> #include <string> #include <vector> #define STRICT #define NOMINMAX #include <Windows.h> #include <Cfgmgr32.h> #pragma comment(lib, \"cfgmg\u2026","url":"https://potisan-programming-memo.hatenablog.jp/entry/2022/11/03/150027","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2022%2F11%2F03%2F150027\" title=\"C++23Preview&amp;Win API \u30ed\u30fc\u30ab\u30eb\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u306e\u30c7\u30d0\u30a4\u30b9\u5217\u6319\u5b50\u3068\u30c7\u30d0\u30a4\u30b9ID\u30ea\u30b9\u30c8\u306e\u53d6\u5f97 - potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"provider_url":"https://hatena.blog","provider_name":"Hatena Blog","blog_url":"https://potisan-programming-memo.hatenablog.jp/","version":"1.0","height":"190","author_name":"potisan"}