diff options
Diffstat (limited to 'GateNand.h')
-rw-r--r-- | GateNand.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,19 +1,18 @@ #pragma once -// #include "Node.h" #include "GateAnd.h" class GateNand : public GateAnd { + using GateAnd::GateAnd; + public: virtual GateNand * clone() const; -protected: +public: SignalLevel level(); - using GateAnd::GateAnd; private: GateNand(const GateNand *) : GateAnd() {} - // GateNand(const char * type); constexpr static const char * type = "nand"; static GateNand instance; }; |