C++ Logo


Advanced search

Re: [std-proposals] Redundant std::begin() and std::end() overloads for std::initializer_list

From: Jason McKesson <jmckesson_at_[hidden]>
Date: Tue, 30 Aug 2022 10:09:43 -0400
On Tue, Aug 30, 2022 at 9:43 AM hamburger blacktea via Std-Proposals
<std-proposals_at_[hidden]> wrote:
> See https://stackoverflow.com/q/25215590. That's an old question (in 2014).
> So I want to solve it:

What is the "problem" to be "solved" here? My understanding is that
the overloads exist so that you don't have to include the iterator
header to use `std::begin` on initializer_list<T>s. Why does this need
to be "solved"?

Received on 2022-08-30 14:10:22