{"image_url":null,"type":"rich","description":"STL\u6a19\u6e96\u306estd::allocator\u306b\u306f\u3001\u30a2\u30e9\u30a4\u30f3\u30e1\u30f3\u30c8\u3092\u64cd\u4f5c\u3059\u308b\u6a5f\u80fd\u304c\u306a\u3044\u306e\u3067 \u78ba\u4fdd\u3057\u305f\u3044\u30e1\u30e2\u30ea\u306e\u30a2\u30a4\u30e9\u30f3\u30e1\u30f3\u30c8\u3092\u8a2d\u5b9a\u3057\u305f\u3044\u5834\u5408\u3001\u81ea\u524d\u3067\u30a2\u30ed\u30b1\u30fc\u30bf\u3092\u4f5c\u308b\u5fc5\u8981\u304c\u3042\u308b #include <malloc.h> typedef unsigned long uint32; // \u30c7\u30d5\u30a9\u30674\u30d0\u30a4\u30c8\u30a2\u30e9\u30a4\u30f3\u30e1\u30f3\u30c8 template <class T, uint32 N = 4> class CAllocator : public std::allocator<T> { public: typedef uint32 size_type; typedef T* pointer; typedef const\u2026","published":"2009-01-20 14:00:45","blog_title":"GPGA\u306e\u3084\u308b\u6c17\u3092\u6301\u7d9a\u3059\u308b\u958b\u767a\u304a\u3088\u3073\u3001\u7814\u7a76\u65e5\u8a18 ","author_url":"https://blog.hatena.ne.jp/GPGA/","height":"190","url":"https://gpga.hatenadiary.org/entry/20090120/1232514045","provider_url":"https://hatena.blog","blog_url":"https://gpga.hatenadiary.org/","provider_name":"Hatena Blog","title":"\u30a2\u30ed\u30b1\u30fc\u30bf\u306e\u4f5c\u308a\u65b9","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgpga.hatenadiary.org%2Fentry%2F20090120%2F1232514045\" title=\"\u30a2\u30ed\u30b1\u30fc\u30bf\u306e\u4f5c\u308a\u65b9 - GPGA\u306e\u3084\u308b\u6c17\u3092\u6301\u7d9a\u3059\u308b\u958b\u767a\u304a\u3088\u3073\u3001\u7814\u7a76\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>","author_name":"GPGA","version":"1.0","width":"100%","categories":["\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e C++"]}