This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cat requirements.txt | xargs -n 1 -L 1 pip install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| class Foo { | |
| friend class FooManager; | |
| private: | |
| Foo(){}; | |
| ~Foo(){std::cout << "foo destructor called !" <<std::endl;}; | |
| }; | |
| class FooManager { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <emscripten/bind.h> | |
| #include <functional> | |
| class ByRef { | |
| int field=0; | |
| public: | |
| ByRef& getRef() {return *this;} | |
| ByRef* getPtr() {return this;} | |
| const ByRef& getConstRef() const {return *this;} |