[HN Gopher] C++26: more constexpr in the standard library
       ___________________________________________________________________
        
       C++26: more constexpr in the standard library
        
       Author : npalli
       Score  : 28 points
       Date   : 2025-05-01 18:36 UTC (4 hours ago)
        
 (HTM) web link (www.sandordargo.com)
 (TXT) w3m dump (www.sandordargo.com)
        
       | nokeya wrote:
       | And in the wild (supported by all major compilers) we will see
       | this somewhere around 2040...
        
         | nly wrote:
         | Not if you run RHEL:
         | 
         | dnf install gcc-toolset-X
        
           | pjmlp wrote:
           | GCC only started supporting C++20 modules in a usable form,
           | last month, and there are still parts missing from C++20.
           | 
           | So expect at very least 2026 + 5 => 2031 for that command to
           | provide a complete C++26 development experience.
        
             | gpderetta wrote:
             | Sure but this is about constexpr, not modules.
        
             | ender341341 wrote:
             | The compiler writers have had a ton of issues implementing
             | modules and aren't particularly excited for them (the
             | committee seems to have forgot the lessens learned from
             | c++98 and not having full implementations for crazy hard
             | things)
             | 
             | on the other hand constexpr changes tend to be picked up
             | pretty quickly, and a lot of them tend to be things that
             | the compiler/stl authors themselves are asking for.
        
       | brooke2k wrote:
       | seeing the words "constexpr sorting" makes all the compile-time
       | sirens go off in my head
        
       | WalterGR wrote:
       | 8 days ago, 90+ comments:
       | https://news.ycombinator.com/item?id=43775670
        
       | dvratil wrote:
       | Amazing, now could I just get a way to do asynchronous network
       | requests in two lines of code, like I have with other languages?
       | 
       | Honestly, it seems to me like the committee is constantly chasing
       | the easy bits but is failing to address the bigger issues in the
       | language and, more importantly, the standard library.
        
       | kubav027 wrote:
       | One of my first tasks in my carrier was implementing stable sort
       | to incomplete stl implementation. In 3 years no one used it. This
       | so niche it should not be part of C++ standard.
        
       ___________________________________________________________________
       (page generated 2025-05-01 23:01 UTC)