C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Selectively pluck from header files

From: Frederick Virchanza Gotham <cauldwell.thomas_at_[hidden]>
Date: Thu, 4 Jul 2024 10:21:21 +0100
On Thu, Jul 4, 2024 at 9:56 AM Thiago Macieira wrote:
>
> Another bad example of big header files is the Standard: <algorithm> is huge.


This could be remedied in C++26 by splitting it into a few files:
    #include <algorithm_A>
    #include <algorithm_B>
    #include <algorithm_C>

And so then the original <algorithm> includes the above 3 files.
Deprecate <algorithm> in C++26, and rip it out in C++29.

Received on 2024-07-04 09:21:34