fork download
  1. #include <memory>
  2. template<typename T> class AVLTreeNode {
  3. public:
  4. T data;
  5. std::unique_ptr<AVLTreeNode<T>> left, right;
  6. int height;
  7. };
  8. int main()
  9. {
  10. AVLTreeNode<int> node;
  11. }
  12.  
Success #stdin #stdout 0s 2824KB
stdin
Standard input is empty
stdout
Standard output is empty