{"width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.cryolite.net%2Fentry%2F20041030%2Fp2\" title=\"\u30ef\u30a4\u30c9\u6587\u5b57\u5217\uff08wstring, wchar_t\uff09\u3092\u74b0\u5883\u306e\u30a8\u30f3\u30b3\u30fc\u30c9\u306b\u304a\u3051\u308b\u9806\u5e8f\u3067\u30bd\u30fc\u30c8\u3059\u308b - Cry&#39;s Blog\" 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/Cryolite/","image_url":null,"published":"2004-10-30 00:00:01","provider_url":"https://hatena.blog","version":"1.0","title":"\u30ef\u30a4\u30c9\u6587\u5b57\u5217\uff08wstring, wchar_t\uff09\u3092\u74b0\u5883\u306e\u30a8\u30f3\u30b3\u30fc\u30c9\u306b\u304a\u3051\u308b\u9806\u5e8f\u3067\u30bd\u30fc\u30c8\u3059\u308b","type":"rich","author_name":"Cryolite","description":"#include <locale> #include <string> #include <algorithm> #include <iostream> #include <iterator> int main() { using namespace std; locale::global(locale(\"\")); wstring str[] = {L\"\u4e9c\", L\"\u4e95\", L\"\u5b87\", L\"\u6c5f\", L\"\u5c3e\"}; sort(str, str + 5); cout << \"Unicode\uff08UCS\uff09\u3067\u306e\u30bd\u30fc\u30c8\u7d50\u679c\" << endl; copy(str, str + 5, ostream_iterato\u2026","blog_url":"https://blog.cryolite.net/","height":"190","provider_name":"Hatena Blog","categories":["C++","Locale"],"blog_title":"Cry's Blog","url":"https://blog.cryolite.net/entry/20041030/p2"}