#ifndef __BINTREE_H__ #define __BINTREE_H__ #include "lazy.h" template class BinTreeBase { public: BinTreeBase(Lazy> left, Lazy val, Lazy> right) : left(left), right(right), val(val) { } ~BinTreeBase() { } Lazy> getLeft() { return left; } Lazy> getRight() { return right; } Lazy get() { return val; } private: Lazy> left; Lazy> right; Lazy val; }; template using BinTree = Lazy>; #endif