initial commit

This commit is contained in:
Av3m
2018-04-04 12:28:46 +02:00
commit 87dcf1bda3
407 changed files with 25507 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#include <iostream>
#include <boost/shared_ptr.hpp>
#include <boost/make_shared.hpp>
class A {
private:
int _x;
public:
A(int x): _x(x) {}
int getX(){ return _x; }
};
int main() {
boost::shared_ptr<A> x = boost::make_shared<A>(0);
return x->getX();
}