# # # patch "base.hh" # from [47fa9166411f1ed96a75ab6753a6c71b88d782f3] # to [30e4d2d7e93d3b32c403d00aa4f7b81d7a67af5a] # # patch "sanity.cc" # from [d4a7256e2215057ca0fa1a0a25d63c429c8622c4] # to [b23726a9190f9f57fc53f6a30b63e11844883c6d] # ============================================================ --- base.hh 47fa9166411f1ed96a75ab6753a6c71b88d782f3 +++ base.hh 30e4d2d7e93d3b32c403d00aa4f7b81d7a67af5a @@ -52,6 +52,7 @@ template <> void dump(u64 const & obj, s template <> void dump(u32 const & obj, std::string & out); template <> void dump(s64 const & obj, std::string & out); template <> void dump(u64 const & obj, std::string & out); +template <> void dump(size_t const & obj, std::string & out); // NORETURN(void function()); declares a function that will never return // in the normal fashion. a function that invariably throws an exception ============================================================ --- sanity.cc d4a7256e2215057ca0fa1a0a25d63c429c8622c4 +++ sanity.cc b23726a9190f9f57fc53f6a30b63e11844883c6d @@ -481,6 +481,11 @@ dump(u64 const & val, string & out) { out = lexical_cast(val); } +template <> void +dump(size_t const & val, string & out) +{ + out = lexical_cast(val); +} void sanity::print_var(std::string const & value, char const * var,