rippled
Loading...
Searching...
No Matches
Classes | Functions
xrpl::PeerFinder::detail Namespace Reference

Classes

class  LivecacheBase
 

Functions

template<class Target , class HopContainer >
std::size_t handout_one (Target &t, HopContainer &h)
 Try to insert one object in the target.
 

Function Documentation

◆ handout_one()

template<class Target , class HopContainer >
std::size_t xrpl::PeerFinder::detail::handout_one ( Target &  t,
HopContainer &  h 
)

Try to insert one object in the target.

When an item is handed out it is moved to the end of the container.

Returns
The number of objects inserted

Definition at line 24 of file Handouts.h.