Skip to content

neatudarius/give-std-optional-range-support

Repository files navigation

WG21 P3168: Give std::optional Range Support

Authors: Marco Foco (@mfoco), Darius Neațu (@neatudarius), Barry Revzin (@brevzin), David Sankel (@camio)

Audience: Library Evolution

Description: The standard library lacks facilities for optional types when doing range operations. While other solutions proposed creating a new type, this paper explores the design alternative where std::optional is made into a range.

Note: This repo/paper is work for WG21: C++ Standards Committee Papers.

Published Revisions

Final status: Accepted into C++26!!!

Tracking Issues

Implementation experience

Implementation is done in Beman.Optional26.

TBD

About

WG21 P3168: Give std::optional Range Support

Resources

Stars

Watchers

Forks