mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
pow-testgiver support
This commit is contained in:
parent
dbde9c1c40
commit
f064b1047a
257 changed files with 6665 additions and 2608 deletions
|
@ -21,6 +21,7 @@
|
|||
#include "td/utils/common.h"
|
||||
|
||||
#include <array>
|
||||
#include <iterator>
|
||||
|
||||
namespace td {
|
||||
|
||||
|
@ -109,18 +110,20 @@ class SpanImpl {
|
|||
InnerT *data() const {
|
||||
return data_;
|
||||
}
|
||||
|
||||
InnerT *begin() const {
|
||||
return data_;
|
||||
}
|
||||
InnerT *end() const {
|
||||
return data_ + size_;
|
||||
}
|
||||
auto rbegin() const {
|
||||
std::reverse_iterator<InnerT *> rbegin() const {
|
||||
return std::reverse_iterator<InnerT *>(end());
|
||||
}
|
||||
auto rend() const {
|
||||
std::reverse_iterator<InnerT *> rend() const {
|
||||
return std::reverse_iterator<InnerT *>(begin());
|
||||
}
|
||||
|
||||
size_t size() const {
|
||||
return size_;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue