Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • View All Red Hat Products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat Developer Sandbox

      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Secure Development & Architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • Product Documentation
    • API Catalog
    • Legacy Documentation
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

Red Hat at the ISO C++ Standards Meeting (June 2016, Oulu): Core Language

July 13, 2016
Jason Merrill
Related topics:
Containers
Related products:
Red Hat OpenShift

Share:

    It was quite a trek to get to Oulu, Finland for the June 2016 C++ Standards Committee meeting, but we were warmly received and the meeting went well once we arrived. We had very pleasant weather most of the week, and it was fun to experience the midnight sun, even though it played havoc with my sleep schedule.

    The main order of business at this meeting was to vote on a first Committee Draft (CD) of the (expected) C++17 standard, ideally with as much as possible of the work that has been moving through the pipeline. The Core and especially the Library working groups were very effective at moving through their workload of papers at this meeting: Core ended the week with no papers left to review, and Library got through ~50 papers and had only two left at the end.

    As usual, the committee divided into multiple working groups: the primary groups that met throughout the week are Core language, language Evolution, Library, Library Evolution, and Parallelism/Concurrency (SG1). Also as usual, I spent the week in the Core language working group.

    In my report on the Jacksonville C++ Meeting last February, I described various proposals that were working through the committee. Of the core language features I listed there as expected or hoped to make it into C++17 at this meeting, almost all did. Note that as of this writing the final revisions of the adopted papers have not been posted publicly yet, but the links should adjust when they are.

    P0035, 'new' of over-aligned data.
    P0091, Template argument deduction for class templates.
    P0292, constexpr if.
    P0296 and P0299, Torvald's forward progress guarantees papers.
    P0386, Inline variables.
    P0145, Refining expression evaluation order. As I mentioned in my Jacksonville report, I was concerned about one aspect of this paper, the requirement that function arguments be evaluated from left to right; GCC currently evaluates them from right to left on x86_64, because that's more natural for the function call psABI. Before the meeting I implemented the proposed requirement and found a 2% performance penalty on one of the SPEC2006 tests; based on this I argued for relaxing that requirement of the paper to say that the arguments are indeterminately sequenced, as in the alternative offered near the end of the paper. After some discussion, the committee decided to adopt my position.

    A few more features also made it in, that I hadn't been aware of after Jacksonville:

    P0028, using attribute namespace to avoid repetition.

      [[using gnu: may_alias, packed ]]
    

    P0127, Declaring non-type parameters with auto.

      template <auto X> struct A { ... };
      A<42> aint;     // X has type int
      A<&aint> aaptr; // X has type A<42>*
    

    P0217, structured bindings, similar to a Perl list assignment.

      struct A { int i, j; } f();
      auto [ x, y ] = f(); // declares x and y to refer to the members of the f return value
    

    P0305, selection statement initializers, basically adding for-init-statements to if and switch. A simple thing, but I've been wishing for it for years.

      if (auto x = current_state();
          x.ok())
        { x.do_more_stuff(); }
    

    And people have been enthusiastic about combining this with structured bindings:

      if (auto [ x, y ] = f(); 
          x < 42)
        { /* use y */; }
    

    However, a few expected features didn't make it:

    P0003, Removing deprecated C++98 dynamic exception-specifications. This just ran out of time; it was one of the papers that Library weren't able to get to before the end of the meeting. But this should have no impact on users, it's just a cleanup.

    P0221, Default comparisons. This came up for a vote on Friday, but there was concern about the proposal not providing any way for a programmer to opt in or out of the default comparisons; either your class is simple enough that you get them, or you don't. I expect that there will be a revised proposal early in the next standard cycle.

    P0251, Unified function call syntax. After the last proposal was defeated at Jacksonville, there was no new proposal to consider at Oulu.

    At the end of the week we voted to submit the first public review draft (CD) to ISO; the next meeting is in Issaquah, WA in November, at which we will start dealing with comments from the national bodies.

    Last updated: September 19, 2023

    Recent Posts

    • How to implement and monitor circuit breakers in OpenShift Service Mesh 3

    • Analysis of OpenShift node-system-admin-client lifespan

    • What's New in OpenShift GitOps 1.18

    • Beyond a single cluster with OpenShift Service Mesh 3

    • Kubernetes MCP server: AI-powered cluster management

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer Tools
    • Interactive Tutorials
    • API Catalog

    Quicklinks

    • Learning Resources
    • E-books
    • Cheat Sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site Status Dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2025 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue