Better types and more comments in RippleCalc.

* Better automatic conversions to and from tagged uint160 varints.
* Start using tagged variants of uint160 for Currency, Account.
* Comments from 2014/6/11 RippleCalc session.
This commit is contained in:
Tom Ritchford
2014-06-10 18:18:03 -04:00
committed by Vinnie Falco
parent a23013abc1
commit e24cba8c35
42 changed files with 1849 additions and 1310 deletions

View File

@@ -23,6 +23,9 @@
#include <boost/regex.hpp>
#include <cstdarg>
#include <ripple/basics/utility/ToString.h>
#include <ripple/basics/utility/StringConcat.h>
namespace ripple {
// VFALCO TODO Replace these with something more robust and without macros.
@@ -415,7 +418,7 @@ public:
void testToString ()
{
testcase ("toString");
auto result = toString("hello");
auto result = to_string("hello");
expect(result == "hello", result);
}