mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
New classes for processing offers in order books:
* BookTip provides consume-and-step offer traversal * OfferStream applies offer business rules and presents offers to callers * Taker class manages state for the active party during order processing * Offer class wraps book offers for presentation
This commit is contained in:
@@ -75,11 +75,10 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
/** Assignment.
|
||||
This is only valid when ByValue == `true`
|
||||
*/
|
||||
template <bool OtherByValue>
|
||||
RippleAssetType& operator= (RippleAssetType <OtherByValue> const& other)
|
||||
/** Assignment. */
|
||||
template <bool MaybeByValue = ByValue, bool OtherByValue>
|
||||
std::enable_if_t <MaybeByValue, RippleAssetType&>
|
||||
operator= (RippleAssetType <OtherByValue> const& other)
|
||||
{
|
||||
currency = other.currency;
|
||||
issuer = other.issuer;
|
||||
|
||||
Reference in New Issue
Block a user