2
0
mirror of https://github.com/boostorg/redis.git synced 2026-01-19 04:42:09 +00:00

Makes flat_tree a proper container (#383)

Removes flat_tree::get_view()
Adds flat_tree{iterator, reverse_iterator, begin, end, rbegin, rend, data, operator[], at, front, back, size, empty}

close #362
This commit is contained in:
Anarthal (Rubén Pérez)
2026-01-18 22:08:18 +01:00
committed by GitHub
parent 89e44dc017
commit 18ee72830b
10 changed files with 432 additions and 44 deletions

View File

@@ -133,7 +133,7 @@ auto receiver(std::shared_ptr<connection> conn) -> asio::awaitable<void>
// The response must be consumed without suspending the
// coroutine i.e. without the use of async operations.
for (auto const& elem : resp.value().get_view())
for (auto const& elem : resp.value())
std::cout << elem.value << "\n";
std::cout << std::endl;