Commit Graph

16 Commits (ad09c287cb7033a28f8d0a002c1ca4f194c12f11)

Author SHA1 Message Date
MarcoFalke 5c0aebfcd4
Merge #19387: span: update constructors to match c++20 draft spec and add lifetimebound attribute
4 years ago
Pieter Wuille e63dcc3a67 Add MakeUCharSpan, to help constructing Span<[const] unsigned char>
4 years ago
MarcoFalke fa2ae0ac8d
span: Add Span::empty() and use it in script/descriptor
4 years ago
Cory Fields 1d58cc7cb0 span: add lifetimebound attribute
4 years ago
Cory Fields 62733fee87 span: (almost) match std::span's constructor behavior
4 years ago
Pieter Wuille 3502a60418 doc: Document Span pitfalls
4 years ago
Pieter Wuille 26acc8dd9b Add sanity check asserts to span when -DDEBUG
4 years ago
Pieter Wuille ab303a16d1 Add Span constructors for arrays and vectors
5 years ago
Pieter Wuille bb3d38fc06 Make pointer-based Span construction safer
5 years ago
Pieter Wuille 1f790a1147 Make Span size type unsigned
5 years ago
Wladimir J. van der Laan 35ef3c15ef
Merge #18591: Add C++17 build to Travis
5 years ago
MarcoFalke fa488f131f
scripted-diff: Bump copyright headers
5 years ago
Pieter Wuille 0fbde488b2 Support conversion between Spans of compatible types
5 years ago
Pieter Wuille 2b0fcff7f2 Make VerifyWitnessProgram use a Span stack
5 years ago
Pieter Wuille 29943a904a Add more methods to Span class
6 years ago
Pieter Wuille 833bc08583 Add Slice: a (pointer, size) array view that acts like a container
7 years ago