{"title":"\u3010\u4e00\u4eba C++20 Advent Calendar 2019\u3011\u6587\u5b57\u5217\u306e\u5148\u982d\u3084\u672b\u5c3e\u306b\u5bfe\u3057\u3066\u4efb\u610f\u306e\u6587\u5b57\u5217\u304c\u4e00\u81f4\u3059\u308b\u304b\u5224\u5b9a\u3059\u308b\u30e1\u30f3\u30d0\u95a2\u6570\u306e\u8ffd\u52a0\u301010\u65e5\u76ee\u3011","url":"https://secret-garden.hatenablog.com/entry/2019/12/10/174453","blog_url":"https://secret-garden.hatenablog.com/","blog_title":"Secret Garden(Instrumental)","categories":["C++","C++20"],"published":"2019-12-10 17:44:53","author_name":"osyo-manga","height":"190","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2019%2F12%2F10%2F174453\" title=\"\u3010\u4e00\u4eba C++20 Advent Calendar 2019\u3011\u6587\u5b57\u5217\u306e\u5148\u982d\u3084\u672b\u5c3e\u306b\u5bfe\u3057\u3066\u4efb\u610f\u306e\u6587\u5b57\u5217\u304c\u4e00\u81f4\u3059\u308b\u304b\u5224\u5b9a\u3059\u308b\u30e1\u30f3\u30d0\u95a2\u6570\u306e\u8ffd\u52a0\u301010\u65e5\u76ee\u3011 - Secret Garden(Instrumental)\" 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,"type":"rich","author_url":"https://blog.hatena.ne.jp/osyo-manga/","version":"1.0","description":"\u4e00\u4eba C++20 Advent Calendar 2019 10\u65e5\u76ee\u306e\u8a18\u4e8b\u306b\u306a\u308a\u307e\u3059\u3002 \u6587\u5b57\u5217\u306e\u5148\u982d\u3084\u672b\u5c3e\u306b\u5bfe\u3057\u3066\u4efb\u610f\u306e\u6587\u5b57\u5217\u304c\u4e00\u81f4\u3059\u308b\u304b\u5224\u5b9a\u3059\u308b\u30e1\u30f3\u30d0\u95a2\u6570\u306e\u8ffd\u52a0 std::basic_string \u3068 std::basic_string_view \u306b starts_with() \u3068 ends_with() \u306e\u30e1\u30f3\u30d0\u95a2\u6570\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002 #include <string> #include <iostream> int main(){ using namespace std::literals; auto s = \"homuhomu\"s; std::cout << std::boolalpha\u2026","provider_url":"https://hatena.blog","width":"100%"}