mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
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:
committed by
Vinnie Falco
parent
a23013abc1
commit
e24cba8c35
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user