#include <boost/filesystem.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <cstdio>
#include <iostream>
#include <chrono>
#include <thread>
#include "gtest/gtest.h"
#include "string_tools.h"
#include "blockchain_db/blockchain_db.h"
#include "blockchain_db/lmdb/db_lmdb.h"
#include "cryptonote_basic/cryptonote_format_utils.h"
Go to the source code of this file.
|
| template<class t_pod_type> |
| std::string | pod_to_hex (const t_pod_type &s) |
◆ ASSERT_HASH_EQ
| #define ASSERT_HASH_EQ |
( |
| a, |
|
|
| b ) |
Value:
#define ASSERT_EQ(val1, val2)
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
std::string pod_to_hex(const t_pod_type &s)
Definition at line 50 of file blockchain_db.cpp.
◆ pod_to_hex()
template<class t_pod_type>
Definition at line 317 of file string_tools.h.
318 {
319 static_assert(std::is_standard_layout<t_pod_type>(), "expected standard layout type");
321 }
span< const std::uint8_t > as_byte_span(const T &src) noexcept