HomePhabricator

Add more methods to Span class

Authored by Pieter Wuille <pieter.wuille@gmail.com> on Apr 23 2018, 19:17.

Description

Add more methods to Span class

Summary:
This introduces a rudimentary begin(), end(), operator[], and subspan to Span.

This is a partial backport of Core PR13697 : https://github.com/bitcoin/bitcoin/pull/13697/commits/29943a904a11607787d28b1f4288f500bd076dde

Test Plan:

make check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D4359

Details

Committed
deadalnixTue, Nov 5, 23:48
Pushed
deadalnixTue, Nov 5, 23:48
Reviewer
Restricted Project
Differential Revision
D4359: Add more methods to Span class
Parents
rABCa5afd2ec6fda: Fix comment layout in client.h
Branches
Unknown
Tags
Unknown

Event Timeline

deadalnix committed rABC8544daeee4b5: Add more methods to Span class (authored by Pieter Wuille <pieter.wuille@gmail.com>).Tue, Nov 5, 23:48