rippled
Loading...
Searching...
No Matches
include
xrpl
server
detail
LowestLayer.h
1
#pragma once
2
3
#if BOOST_VERSION >= 107000
4
#include <boost/beast/core/stream_traits.hpp>
5
#else
6
#include <boost/beast/core/type_traits.hpp>
7
#endif
8
9
namespace
xrpl
{
10
11
// Before boost 1.70, get_lowest_layer required an explicit template parameter
12
template
<
class
T>
13
decltype
(
auto
)
14
get_lowest_layer
(T& t)
noexcept
15
{
16
#if BOOST_VERSION >= 107000
17
return
boost::beast::get_lowest_layer(t);
18
#else
19
return
t.lowest_layer();
20
#endif
21
}
22
23
}
// namespace xrpl
xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:5
xrpl::get_lowest_layer
decltype(auto) get_lowest_layer(T &t) noexcept
Definition
LowestLayer.h:14
Generated by
1.9.8