Bitcoin Core  31.0.0
P2P Digital Currency
calculator.h
Go to the documentation of this file.
1 // Copyright (c) The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef EXAMPLE_CALCULATOR_H
6 #define EXAMPLE_CALCULATOR_H
7 
8 #include <string>
9 
11 {
12 public:
13  virtual ~Calculator() = default;
14  virtual void solveEquation(const std::string& eqn) = 0;
15 };
16 
17 #endif // EXAMPLE_CALCULATOR_H
virtual ~Calculator()=default
virtual void solveEquation(const std::string &eqn)=0