boostorg / boostorg/beast

`http::basic_fields::equal_range` should return `boost::range::iterator_range`

Open
#1,184 4 comments 0 reactions 0 assignees View on GitHub
Feature
Dominant language
C++
Stars
4.8k
Forks
694
Avg merge
12h 48m
Merged PRs (30d)
1

Description

In terms of improving Beast's semantic meaning, using a [`std::pair`](https://www.boost.org/doc/libs/1_67_0/libs/beast/doc/html/beast/ref/boost__beast__http__basic_fields/equal_range.html) as the return type for `basic_fields::equal_range` can lead to a hard-to-use API.

It's suggested that Beast instead return what's in Boost.Range for better interop with existing Boost libs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.