摘要: 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 using namespace boost; 7 class Test 8 { 9 public:10 Test(int a){11 age=a;12 }13 int age;14 bool operator ( const Test& rhs ) const { //降序排序时必须写的函数18 return age > rhs.age;19 }... 阅读全文
posted @ 2013-11-10 21:30 朗笑江湖 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 1. 开发平台:os x2. boost安装目录: 3. xcode中配置: 4. 测试 阅读全文
posted @ 2013-11-10 20:58 朗笑江湖 阅读(506) 评论(0) 推荐(0) 编辑