#include <byte_vector.hpp>
|
| | ByteVector ()=default |
| |
| template<ranges::input_iterator It> |
| | ByteVector (It first, It last) |
| |
| | ByteVector (std::initializer_list< Byte > init) |
| |
| | ByteVector (std::size_t count, Byte value=Byte{}) |
| |
| bool | empty () const |
| |
| Byte & | operator[] (size_t idx) |
| |
| const Byte & | operator[] (size_t idx) const |
| |
| Byte & | at (size_t idx) |
| |
| const Byte & | at (size_t idx) const |
| |
| template<ranges::input_iterator It> |
| auto | insert (const_iterator pos, It first, It last) |
| |
| void | push_back (const Byte &value) |
| |
| template<typename... Args> |
| void | emplace_back (Args &&... args) |
| |
| auto | begin () |
| |
| auto | begin () const |
| |
| auto | cbegin () const |
| |
| auto | end () |
| |
| auto | end () const |
| |
| auto | cend () const |
| |
| auto | data () |
| |
| auto | data () const |
| |
| size_t | size () const |
| |
| void | resize (std::size_t new_size) |
| |
template<ranges::range Range>
requires requires(Range range, std::size_t size, Byte byte) { { range.resize(size) }; { static_cast<ranges::range_value_t<Range>>(byte.value) }; } |
| Range | to_range () const |
| | T should be a stdlib-compatible container type where Byte is convertible to T::value_type.
|
| |
template<typename... Types>
requires (sizeof...(Types) > 0 && (std::is_trivially_copyable_v<Types> && ...)) |
| auto | bit_cast_to () const -> std::conditional_t< sizeof...(Types)==1, boost::mp11::mp_first< boost::mp11::mp_list< Types... > >, std::tuple< Types... > > |
| |
◆ allocator_type
◆ const_iterator
◆ const_pointer
◆ const_reference
◆ const_reverse_iterator
◆ difference_type
◆ iterator
◆ pointer
◆ reference
◆ reverse_iterator
◆ size_type
◆ value_type
◆ ByteVector() [1/4]
◆ ByteVector() [2/4]
template<ranges::input_iterator It>
◆ ByteVector() [3/4]
◆ ByteVector() [4/4]
◆ at() [1/2]
◆ at() [2/2]
◆ begin() [1/2]
◆ begin() [2/2]
◆ bit_cast_to()
template<typename... Types>
requires (sizeof...(Types) > 0 && (std::is_trivially_copyable_v<Types> && ...))
| auto asmgrader::ByteVector< Endianness >::bit_cast_to |
( |
| ) |
const -> std::conditional_t<sizeof...(Types) == 1, boost::mp11::mp_first<boost::mp11::mp_list<Types...>>,
std::tuple<Types...>> |
|
inline |
◆ cbegin()
◆ cend()
◆ data() [1/2]
◆ data() [2/2]
◆ emplace_back()
template<typename... Args>
◆ empty()
◆ end() [1/2]
◆ end() [2/2]
◆ insert()
template<ranges::input_iterator It>
◆ operator[]() [1/2]
◆ operator[]() [2/2]
◆ push_back()
◆ resize()
◆ size()
◆ to_range()
template<ranges::range Range>
requires requires(Range range, std::size_t
size,
Byte byte) { { range.resize(
size) }; { static_cast<ranges::range_value_t<Range>>(byte.value) }; }
T should be a stdlib-compatible container type where Byte is convertible to T::value_type.
The documentation for this class was generated from the following file: