Do not static_store BigInt to actually work -- it's a stub.
| 36 | |
| 37 | // Do not static_store BigInt to actually work -- it's a stub. |
| 38 | struct BigInt |
| 39 | { |
| 40 | static leaf::result<BigInt> fromString(const std::string& s) { return BigInt{s}; } |
| 41 | explicit BigInt(const std::string&) { } |
| 42 | BigInt half() const { return BigInt{""}; } |
| 43 | friend std::ostream& operator<<(std::ostream& o, const BigInt&) { return o << "big int half"; } |
| 44 | }; |
| 45 | |
| 46 | // This function handles ConversionErrc::TooLong errors, forwards any other |
| 47 | // error to the caller. |
nothing calls this directly
no outgoing calls
no test coverage detected