veriblock-pop-cpp
C++11 Libraries for leveraging VeriBlock Proof-Of-Proof blockchain technology.
|
Non-owning contiguous array. More...
Similar to gsl::span. Essentially, just a pair T* + size_t
Public Types | |
using | element_type = ElementType |
using | value_type = typename std::remove_cv< ElementType >::type |
using | index_type = std::ptrdiff_t |
using | pointer = element_type * |
using | reference = element_type & |
using | iterator = pointer |
using | const_iterator = const pointer |
using | reverse_iterator = std::reverse_iterator< iterator > |
using | const_reverse_iterator = std::reverse_iterator< const_iterator > |
Public Member Functions | |
Slice (const pointer ptr, size_t size) | |
template<class Container , typename = typename std::enable_if< sizeof(typename Container::value_type) == 1 || std::is_same<typename std::remove_const<ElementType>::type, typename std::remove_const< typename Container::value_type>::type>::value>::type> | |
constexpr | Slice (Container &cont) noexcept |
constexpr pointer | data () const noexcept |
constexpr size_t | size () const noexcept |
constexpr reference | operator[] (index_type idx) const |
constexpr std::vector< value_type > | asVector () const |
constexpr iterator | begin () const noexcept |
constexpr iterator | end () const noexcept |
constexpr iterator | cbegin () const noexcept |
constexpr iterator | cend () const noexcept |
constexpr reverse_iterator | rbegin () const noexcept |
constexpr reverse_iterator | rend () const noexcept |
constexpr const_reverse_iterator | crbegin () const noexcept |
constexpr const_reverse_iterator | crend () const noexcept |
std::vector< value_type > | reverse () const |
using altintegration::Slice< ElementType >::const_iterator = const pointer |
using altintegration::Slice< ElementType >::const_reverse_iterator = std::reverse_iterator<const_iterator> |
using altintegration::Slice< ElementType >::element_type = ElementType |
using altintegration::Slice< ElementType >::index_type = std::ptrdiff_t |
using altintegration::Slice< ElementType >::iterator = pointer |
using altintegration::Slice< ElementType >::pointer = element_type * |
using altintegration::Slice< ElementType >::reference = element_type & |
using altintegration::Slice< ElementType >::reverse_iterator = std::reverse_iterator<iterator> |
using altintegration::Slice< ElementType >::value_type = typename std::remove_cv<ElementType>::type |
|
inline |
|
inline |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inline |
|
inlineconstexprnoexcept |