From 6b8de05d0a6696dff4b7dccec5b74889f3cdc486 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Mon, 26 Mar 2012 16:48:23 +0200 Subject: Begin doxygen-compatible comments --- src/uint256.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/uint256.h') diff --git a/src/uint256.h b/src/uint256.h index 783e7069e9..cfc2eb128e 100644 --- a/src/uint256.h +++ b/src/uint256.h @@ -19,8 +19,9 @@ inline int Testuint256AdHoc(std::vector vArg); -// We have to keep a separate base class without constructors -// so the compiler will let us use it in a union +/** Base class without constructors for uint256 and uint160. + * This makes the compiler let u use it in a union. + */ template class base_uint { @@ -393,6 +394,7 @@ typedef base_uint<256> base_uint256; // uint160 // +/** 160-bit unsigned integer */ class uint160 : public base_uint160 { public: @@ -507,6 +509,7 @@ inline const uint160 operator-(const uint160& a, const uint160& b) { return // uint256 // +/** 256-bit unsigned integer */ class uint256 : public base_uint256 { public: -- cgit v1.2.3