测试-使用MarsEdit作为Mac OS X的博客园客户端

测试

 

#include <iostream>

#include <functional>

#include <memory>

using namespace std;

 

class Test

{

public:

    Test()

    {

        cout << "Test " << endl;

    }

    

    ~Test()

    {

        cout << "~Test" << endl;

    }

private:

    int value_;

};

 

 

int main(int argc, const char * argv[])

{

 

    // insert code here...

    std::cout << "Hello, World!\n";

    std::shared_ptr<Test> ptr(new Test);

    

    

    return 0;

}

posted on 2014-10-19 01:41  inevermore  阅读(192)  评论(0编辑  收藏  举报