Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

November 2018 ISO C++ meeting trip report (Core Language)

February 15, 2019
Jason Merrill
Related topics:
Developer tools
Related products:
Developer Toolset

    The ISO C++ standards meeting in November 2018 was held in San Diego, CA. As usual, Red Hat sent three of us to the meeting: me (for the Core Language Working Group), Jonathan Wakely (for the Library Working Group [LEWG]), and Thomas Rodgers (for the Concurrency and Parallelism Study Group [SG1]). I felt the meeting was productive, though some features that had been expected to make it into C++20 are now in question.

    Here are new C++ features accepted at the meeting:

    • Expanded constexpr: Constant expressions can now include try blocks (in a constexpr function), dynamic_cast, and typeid, but only if they wouldn't throw an exception. Throwing an expression still makes the expression non-constant. Constant expressions can now also change the active member of a union created during constant evaluation.
    • char8_t: A specific type for UTF-8 code units that also doesn't have the aliasing issues of the C char type.
    • immediate functions ("consteval"): A stronger form of constexpr functions that are always immediately evaluated for a constant value. I'm still not convinced this is a sufficiently useful distinction from normal constexpr functions, but others seem rather keen on it.
    • std::is_constant_evaluated(): Allows constexpr functions to use one implementation during constant evaluation and a more efficient but non-constexpr implementation during runtime evaluation.
    • Nested inline namespaces: Adds support for declaring inline namespaces to the C++ nested namespace definition feature.
    • "Constrained auto": Most significantly reintroduces abbreviated function templates from the Concepts TS with somewhat different syntax; instead of declaring a function parameter of constrained generic type with just the name of a type concept, you do it with the concept followed by "auto", for example:
      auto f(Copyable auto x) { return x; }

    Here are various other proposals we discussed at the meeting:

    • P0881R3, a new proposal for a stack trace library: This seemed to Core like it was going too far toward reflection; the design needs more time to bake.
    • P1103R2, Merging Modules: The unified module design continues to progress and is expected to make it into the working paper at the next meeting.
    • Two papers about operator <=> ("spaceship"), P1185 and P1186:
      • 1185 points out that an == operator that just calls the <=> operator can be significantly slower than one written to call == for the subobjects. The design is still somewhat in flux, but there seems to be a strong consensus that we want to change this and change non-type template arguments of class type to depend on == rather than <=>.
      • 1186 proposes allowing defaulted <=> to use existing < and == operators, since most existing classes don't themselves have <=>.  But this ran into trouble; for more details, see the author's post.

      With these issues arising, people have become uncertain whether <=> is actually ready to be part of C++20, but it seems to me that there's enough time left to resolve things.

    • P1328R0, making type_info::operator== constexpr: This seemed like an obvious fix to me.

    We even found the time to talk about submitted issues between the papers. Many were of limited interest to folks outside the committee, but issue 2362 argues that __func__ should be constexpr. Core is inclined to move in the opposite direction, by changing its type from array to pointer, in order to avoid making the size of the name usable in a constant-expression. On reflection now, I'm not sure this is such a good idea; there are plenty of ways to get an ODR violation, and I'm not sure this one would be bad enough to prevent uses that people want for it. We referred this issue to Evolution for input.

    The next meeting will be in Kailua-Kona, Hawaii, in February.

    Last updated: March 26, 2023

    Recent Posts

    • Every layer counts: Defense in depth for AI agents with Red Hat AI

    • Fun in the RUN instruction: Why container builds with distroless images can surprise you

    • Trusted software factory: Building trust in the agentic AI era

    • Build a zero trust AI pipeline with OpenShift and RHEL CVMs

    • Red Hat Hardened Images: Top 5 benefits for software developers

    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
    © 2026 Red Hat

    Red Hat legal and privacy links

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

    Chat Support

    Please log in with your Red Hat account to access chat support.