sample ãµã³ãã«ã®åä½ç¢ºèªãã¼ã¸ã§ã³ [GCC4.4/1.41.0] [VC9/1.41.0] #include <string> #include <vector> #include <iostream> #include <boost/shared_ptr.hpp> using namespace std; int main() { typedef boost::shared_ptr<string> StrPtr; StrPtr s = StrPtr(new string("pen")); vector< StrPtr > v; // vectorã«å ¥ãããã v.push_back( StrPtr(new string("this")) ); v.push_back( StrPtr(new string("is")) ); v.push_back( StrPtr(new str
{{#tags}}- {{label}}
{{/tags}}