• Container adapters now provide type definitions for reference and const_reference (see
Section 12.4.1, page 645).
• Container adapters now support move semantics and rvalue references:
– push() provides move semantics now (see Section 12.1.2, page 634, and Section 12.4.4,
page 647).
– Initial containers can be moved now (see Section 12.4.2, page 646).
• Container adapters provide the emplace() feature, which internally creates a new element initialized
by the passed arguments (see Section 12.1.2, page 634, and Section 12.4.4, page 647).
• Container adapters now provide swap() (see Section 12.4.4, page 649).
• Constructor adapters now allow you to pass a specific allocator to their constructors (see Section
12.4.2, page 646).
www
•อะแดปเตอร์คอนเทนเนอร์ขณะนี้ให้คำจำกัดความของประเภทสำหรับการอ้างอิงและ const_reference (ดู
มาตรา 12.4.1, หน้า 645)
•อะแดปเตอร์คอนเทนเนอร์ในขณะนี้สนับสนุนความหมายย้ายและการอ้างอิง rValue:
- การผลักดัน () ให้ความหมายไปในขณะนี้ (ดูมาตรา 12.1.2, หน้า 634 และมาตรา 12.4.4,
หน้า 647)
- ภาชนะบรรจุที่เริ่มต้นสามารถเคลื่อนย้ายในขณะนี้ (ดูมาตรา 12.4.2, หน้า 646)
•อะแดปเตอร์คอนเทนเนอร์ให้ emplace (คุณสมบัติ) ซึ่งภายในจะสร้างองค์ประกอบใหม่เริ่มต้น
โดยการขัดแย้งที่ผ่านมา (ดูมาตรา 12.1.2, หน้า 634 และมาตรา 12.4.4, หน้า 647)
•อะแดปเตอร์คอนเทนเนอร์ขณะนี้ให้แลก () (ดูมาตรา 12.4.4, หน้า 649)
•อะแดปเตอร์สร้างตอนนี้ช่วยให้คุณสามารถผ่านการจัดสรรที่เฉพาะเจาะจง การก่อสร้างของพวกเขา (ดูมาตรา
12.4.2, หน้า 646)
ที่ www
การแปล กรุณารอสักครู่..
