P1009R0.pdf

p1009r0.pdf
Preview of P1009R0
🔗 Source: open-std.org
📊 Size: 175 KB
📄 Pages: 2 pages
⬇️ Downloads: 47

Summary

A proposal (P1009R0) to fix an inconsistency in C++ initialization rules by allowing array size deduction in new-expressions, aligning their behavior with that of initialization elsewhere in the language, is presented to the Evolution and Core Working Groups. The inconsistency arises from the fact that array size can be deduced from initializers in declarations (e.g., `double a[]{1,2,3};`), but not in new-expressions (e.g., `double* p = new double[]{1,2,3};`). The proposed fix involves modifying the `expr.new` paragraph to allow for array size deduction when using a braced-init-list in a new-expression.

Description

A proposal (P1009R0) to fix an inconsistency in C++ initialization rules by allowing array size deduction in new-expressions, aligning their behavior with that...

Technical Information

  • File Format: PDF
  • File Size: 175 KB
  • Pages: 2
  • Language: EN
  • Total Downloads: 47
  • Last Updated: 7 hours ago

Document Overview

This PDF document about P1009R0 provides comprehensive information and guidance. Whether you're a beginner or advanced user, this resource offers valuable insights into P1009R0.

Related Topics

If you're interested in P1009R0, you might also want to explore:

Download P1009R0 eBooks for free and learn more about P1009R0. These books contain exercises and tutorials to improve your practical skills, at all levels!

Not satisfied with this document? We have related documents to P1009R0, try searching with similar keywords: P1009R0

You can download PDF versions of the user's guide, manuals and ebooks about P1009R0, you can also find and download for free A free online manual (notices) with beginner and intermediate, Downloads Documentation, You can download PDF files (or DOC and PPT) about P1009R0 for free, but please respect copyrighted ebooks.