C++11 - cppreference.com

From cppreference.com

C++11 is the second major version of C++ and the most important update since C++98. A large number of changes were introduced to both standardize existing practices and improve the abstractions available to the C++ programmers.

Before it was finally approved by ISO on 12 August 2011, the name 'C++0x' was used because it was expected to be published before 2010. It took 8 years between C++03 and C++11, so it has become the longest interval between versions so far. Since then, currently, C++ updates every 3 years regularly.

Following features were merged into C++11:

From

TR1

: all of TR1 except

Special Functions

.

From Boost:

The thread library

,

exception_ptr

,

error_code

and

error_condition

, iterator improvements (

begin

,

end

,

next

,

prev

)

From C: C-style Unicode conversion functions

Core language features

auto

and

decltype

defaulted

and

deleted

functions

final

and

override

trailing return type

rvalue references

move constructors

and

move assignment operators

scoped enums

constexpr

and

literal types

list initialization

delegating

and

inherited

constructors

brace-or-equal

initializers

nullptr

long long

char16_t and char32_t

type aliases

variadic templates

generalized (non-trivial) unions

generalized PODs

(

trivial types

and

standard-layout types

)

Unicode string literals

user-defined literals

attributes

lambda expressions

noexcept

specifier and

noexcept

operator

alignof

and

alignas

multithreaded

memory model

thread-local storage

GC interface

(removed in C++23)

range-for

(based on Boost library)

static_assert

(based on Boost library)

Library features

<array>

<atomic>

<cfenv>

<chrono>

<cinttypes>

<condition_variable>

<cstdint>

<cuchar>

<forward_list>

<future>

<initializer_list>

<mutex>

<random>

<ratio>

<regex>

<scoped_allocator>

<system_error>

<thread>

<tuple>

<typeindex>

<type_traits>

<unordered_map>

<unordered_set>

Library features

concurrency support library

emplace() and other use of rvalue references throughout all parts of the existing library

std::unique_ptr

std::move_iterator

std::initializer_list

stateful

and

scoped

allocators

std::forward_list

chrono library

ratio library

new

algorithms

:

std::all_of

,

std::any_of

,

std::none_of

,

std::find_if_not

,

std::copy_if

,

std::copy_n

,

std::move

,

std::move_backward

,

std::random_shuffle

,

std::shuffle

,

std::is_partitioned

,

std::partition_copy

,

std::partition_point

,

std::is_sorted

,

std::is_sorted_until

,

std::is_heap

,

std::is_heap_until

,

std::minmax

,

std::minmax_element

,

std::is_permutation

,

std::iota

,

std::uninitialized_copy_n

Unicode conversion facets

std::function

std::exception_ptr

std::error_code

and

std::error_condition

iterator

improvements:

std::begin

std::end

std::next

std::prev

Unicode conversion functions

Defect reports

Defect Reports fixed in C++11 (741 core, 868 library)

CWG#4

CWG#5

CWG#8

CWG#9

CWG#10

CWG#11

CWG#16

CWG#28

CWG#29

CWG#39

CWG#44

CWG#45

CWG#54

CWG#58

CWG#60

CWG#62

CWG#63

CWG#70

CWG#77

CWG#78

CWG#86

CWG#87

CWG#96

CWG#106

CWG#112

CWG#113

CWG#115

CWG#118

CWG#119

CWG#122

CWG#124

CWG#125

CWG#136

CWG#139

CWG#140

CWG#141

CWG#143

CWG#158

CWG#160

CWG#162

CWG#172

CWG#175

CWG#177

CWG#180

CWG#184

CWG#195

CWG#197

CWG#198

CWG#199

CWG#201

CWG#204

CWG#207

CWG#208

CWG#214

CWG#215

CWG#216

CWG#218

CWG#220

CWG#221

CWG#222

CWG#224

CWG#226

CWG#228

CWG#237

CWG#239

CWG#244

CWG#245

CWG#246

CWG#248

CWG#252

CWG#254

CWG#256

CWG#257

CWG#258

CWG#259

CWG#261

CWG#262

CWG#263

CWG#270

CWG#272

CWG#273

CWG#274

CWG#275

CWG#276

CWG#277

CWG#280

CWG#281

CWG#283

CWG#284

CWG#286

CWG#288

CWG#289

CWG#291

CWG#295

CWG#296

CWG#298

CWG#299

CWG#300

CWG#301

CWG#302

CWG#305

CWG#306

CWG#309

CWG#317

CWG#318

CWG#319

CWG#320

CWG#322

CWG#323

CWG#324

CWG#326

CWG#327

CWG#328

CWG#329

CWG#331

CWG#335

CWG#336

CWG#337

CWG#339

CWG#341

CWG#345

CWG#348

CWG#349

CWG#351

CWG#352

CWG#353

CWG#354

CWG#355

CWG#357

CWG#362

CWG#364

CWG#366

CWG#367

CWG#368

CWG#370

CWG#372

CWG#373

CWG#374

CWG#377

CWG#378

CWG#379

CWG#381

CWG#382

CWG#383

CWG#385

CWG#387

CWG#389

CWG#390

CWG#391

CWG#392

CWG#394

CWG#396

CWG#397

CWG#398

CWG#400

CWG#401

CWG#403

CWG#404

CWG#406

CWG#407

CWG#408

CWG#409

CWG#410

CWG#413

CWG#414

CWG#415

CWG#416

CWG#417

CWG#420

CWG#421

CWG#424

CWG#425

CWG#427

CWG#428

CWG#429

CWG#430

CWG#431

CWG#432

CWG#433

CWG#436

CWG#437

CWG#438

CWG#439

CWG#441

CWG#442

CWG#443

CWG#446

CWG#447

CWG#448

CWG#450

CWG#451

CWG#452

CWG#454

CWG#457

CWG#458

CWG#460

CWG#463

CWG#464

CWG#466

CWG#468

CWG#470

CWG#474

CWG#475

CWG#477

CWG#479

CWG#480

CWG#481

CWG#484

CWG#485

CWG#486

CWG#488

CWG#490

CWG#491

CWG#492

CWG#493

CWG#494

CWG#495

CWG#497

CWG#499

CWG#500

CWG#502

CWG#505

CWG#506

CWG#508

CWG#509

CWG#510

CWG#513

CWG#514

CWG#515

CWG#516

CWG#517

CWG#518

CWG#519

CWG#520

CWG#521

CWG#522

CWG#524

CWG#525

CWG#526

CWG#527

CWG#530

CWG#531

CWG#532

CWG#534

CWG#537

CWG#538

CWG#540

CWG#541

CWG#542

CWG#543

CWG#546

CWG#547

CWG#551

CWG#556

CWG#557

CWG#558

CWG#559

CWG#561

CWG#564

CWG#568

CWG#569

CWG#570

CWG#571

CWG#572

CWG#573

CWG#575

CWG#576

CWG#580

CWG#582

CWG#587

CWG#588

CWG#589

CWG#590

CWG#592

CWG#594

CWG#598

CWG#599

CWG#601

CWG#602

CWG#603

CWG#604

CWG#605

CWG#606

CWG#608

CWG#611

CWG#612

CWG#613

CWG#614

CWG#615

CWG#618

CWG#619

CWG#620

CWG#621

CWG#624

CWG#625

CWG#626

CWG#628

CWG#629

CWG#630

CWG#632

CWG#633

CWG#634

CWG#637

CWG#638

CWG#639

CWG#641

CWG#642

CWG#644

CWG#645

CWG#647

CWG#648

CWG#649

CWG#650

CWG#651

CWG#652

CWG#653

CWG#654

CWG#655

CWG#656

CWG#657

CWG#658

CWG#659

CWG#660

CWG#661

CWG#663

CWG#664

CWG#665

CWG#666

CWG#667

CWG#668

CWG#671

CWG#672

CWG#674

CWG#676

CWG#677

CWG#678

CWG#679

CWG#680

CWG#681

CWG#683

CWG#684

CWG#685

CWG#686

CWG#688

CWG#690

CWG#691

CWG#692

CWG#693

CWG#694

CWG#695

CWG#696

CWG#699

CWG#700

CWG#701

CWG#702

CWG#703

CWG#704

CWG#705

CWG#707

CWG#709

CWG#710

CWG#711

CWG#713

CWG#714

CWG#715

CWG#716

CWG#717

CWG#719

CWG#720

CWG#721

CWG#722

CWG#726

CWG#730

CWG#731

CWG#732

CWG#734

CWG#735

CWG#737

CWG#738

CWG#740

CWG#741

CWG#743

CWG#744

CWG#746

CWG#749

CWG#750

CWG#751

CWG#752

CWG#753

CWG#754

CWG#756

CWG#757

CWG#758

CWG#759

CWG#760

CWG#761

CWG#762

CWG#763

CWG#764

CWG#765

CWG#766

CWG#767

CWG#768

CWG#769

CWG#770

CWG#771

CWG#772

CWG#773

CWG#774

CWG#775

CWG#776

CWG#777

CWG#778

CWG#779

CWG#782

CWG#784

CWG#785

CWG#786

CWG#787

CWG#788

CWG#789

CWG#790

CWG#792

CWG#793

CWG#796

CWG#797

CWG#798

CWG#799

CWG#801

CWG#803

CWG#804

CWG#805

CWG#806

CWG#808

CWG#809

CWG#810

CWG#811

CWG#812

CWG#814

CWG#815

CWG#816

CWG#817

CWG#818

CWG#820

CWG#823

CWG#828

CWG#830

CWG#831

CWG#832

CWG#833

CWG#834

CWG#835

CWG#837

CWG#838

CWG#840

CWG#842

CWG#845

CWG#846

CWG#847

CWG#850

CWG#853

CWG#854

CWG#855

CWG#858

CWG#860

CWG#861

CWG#862

CWG#863

CWG#864

CWG#865

CWG#869

CWG#872

CWG#873

CWG#874

CWG#876

CWG#877

CWG#879

CWG#880

CWG#882

CWG#883

CWG#884

CWG#886

CWG#887

CWG#888

CWG#891

CWG#892

CWG#896

CWG#898

CWG#899

CWG#904

CWG#905

CWG#906

CWG#908

CWG#910

CWG#913

CWG#915

CWG#919

CWG#920

CWG#921

CWG#922

CWG#923

CWG#924

CWG#926

CWG#927

CWG#928

CWG#929

CWG#930

CWG#931

CWG#932

CWG#933

CWG#934

CWG#935

CWG#936

CWG#938

CWG#939

CWG#940

CWG#941

CWG#942

CWG#945

CWG#946

CWG#948

CWG#950

CWG#951

CWG#953

CWG#955

CWG#956

CWG#957

CWG#959

CWG#960

CWG#961

CWG#962

CWG#963

CWG#964

CWG#965

CWG#966

CWG#968

CWG#969

CWG#970

CWG#971

CWG#972

CWG#973

CWG#976

CWG#978

CWG#979

CWG#980

CWG#981

CWG#983

CWG#984

CWG#985

CWG#986

CWG#988

CWG#989

CWG#990

CWG#991

CWG#993

CWG#994

CWG#995

CWG#996

CWG#997

CWG#999

CWG#1000

CWG#1004

CWG#1006

CWG#1009

CWG#1010

CWG#1011

CWG#1012

CWG#1015

CWG#1016

CWG#1017

CWG#1018

CWG#1020

CWG#1022

CWG#1025

CWG#1029

CWG#1030

CWG#1031

CWG#1032

CWG#1033

CWG#1034

CWG#1035

CWG#1036

CWG#1037

CWG#1042

CWG#1043

CWG#1044

CWG#1047

CWG#1051

CWG#1054

CWG#1055

CWG#1056

CWG#1057

CWG#1060

CWG#1061

CWG#1062

CWG#1063

CWG#1064

CWG#1065

CWG#1066

CWG#1068

CWG#1069

CWG#1070

CWG#1071

CWG#1072

CWG#1073

CWG#1074

CWG#1075

CWG#1079

CWG#1080

CWG#1081

CWG#1082

CWG#1083

CWG#1086

CWG#1087

CWG#1088

CWG#1090

CWG#1091

CWG#1094

CWG#1095

CWG#1096

CWG#1098

CWG#1099

CWG#1100

CWG#1101

CWG#1102

CWG#1103

CWG#1104

CWG#1105

CWG#1106

CWG#1107

CWG#1109

CWG#1111

CWG#1112

CWG#1113

CWG#1114

CWG#1115

CWG#1117

CWG#1119

CWG#1120

CWG#1121

CWG#1122

CWG#1123

CWG#1125

CWG#1126

CWG#1127

CWG#1128

CWG#1129

CWG#1130

CWG#1131

CWG#1133

CWG#1134

CWG#1135

CWG#1136

CWG#1137

CWG#1138

CWG#1139

CWG#1140

CWG#1142

CWG#1144

CWG#1145

CWG#1146

CWG#1147

CWG#1148

CWG#1149

CWG#1151

CWG#1152

CWG#1153

CWG#1154

CWG#1155

CWG#1156

CWG#1158

CWG#1159

CWG#1160

CWG#1161

CWG#1164

CWG#1165

CWG#1166

CWG#1167

CWG#1168

CWG#1169

CWG#1170

CWG#1171

CWG#1173

CWG#1174

CWG#1175

CWG#1176

CWG#1177

CWG#1178

CWG#1180

CWG#1181

CWG#1182

CWG#1183

CWG#1184

CWG#1185

CWG#1186

CWG#1187

CWG#1188

CWG#1189

CWG#1190

CWG#1191

CWG#1192

CWG#1193

CWG#1194

CWG#1195

CWG#1196

CWG#1197

CWG#1198

CWG#1199

CWG#1201

CWG#1202

CWG#1204

CWG#1206

CWG#1207

CWG#1208

CWG#1210

CWG#1212

CWG#1214

CWG#1215

CWG#1216

CWG#1218

CWG#1219

CWG#1220

CWG#1224

CWG#1225

CWG#1229

CWG#1231

CWG#1232

CWG#1233

CWG#1234

CWG#1235

CWG#1236

CWG#1237

CWG#1238

CWG#1239

CWG#1240

CWG#1241

CWG#1242

CWG#1243

CWG#1244

CWG#1245

CWG#1246

LWG#23

LWG#44

LWG#49

LWG#76

LWG#91

LWG#92

LWG#98

LWG#103

LWG#109

LWG#117

LWG#118

LWG#120

LWG#123

LWG#130

LWG#136

LWG#149

LWG#153

LWG#165

LWG#167

LWG#171

LWG#179

LWG#180

LWG#182

LWG#183

LWG#184

LWG#185

LWG#186

LWG#187

LWG#198

LWG#200

LWG#201

LWG#202

LWG#206

LWG#214

LWG#221

LWG#225

LWG#226

LWG#228

LWG#229

LWG#230

LWG#231

LWG#232

LWG#233

LWG#234

LWG#235

LWG#237

LWG#238

LWG#239

LWG#240

LWG#241

LWG#242

LWG#243

LWG#247

LWG#248

LWG#250

LWG#251

LWG#252

LWG#253

LWG#254

LWG#256

LWG#258

LWG#259

LWG#260

LWG#261

LWG#262

LWG#263

LWG#264

LWG#265

LWG#266

LWG#268

LWG#270

LWG#271

LWG#272

LWG#273

LWG#274

LWG#275

LWG#276

LWG#278

LWG#280

LWG#281

LWG#282

LWG#283

LWG#284

LWG#285

LWG#286

LWG#288

LWG#291

LWG#292

LWG#294

LWG#295

LWG#296

LWG#297

LWG#298

LWG#300

LWG#301

LWG#303

LWG#305

LWG#306

LWG#307

LWG#308

LWG#310

LWG#311

LWG#312

LWG#315

LWG#316

LWG#317

LWG#318

LWG#319

LWG#320

LWG#321

LWG#322

LWG#324

LWG#325

LWG#327

LWG#328

LWG#329

LWG#331

LWG#333

LWG#334

LWG#335

LWG#336

LWG#337

LWG#338

LWG#339

LWG#340

LWG#341

LWG#343

LWG#345

LWG#346

LWG#347

LWG#349

LWG#352

LWG#353

LWG#354

LWG#355

LWG#358

LWG#359

LWG#360

LWG#362

LWG#363

LWG#364

LWG#365

LWG#369

LWG#370

LWG#371

LWG#373

LWG#375

LWG#376

LWG#379

LWG#380

LWG#381

LWG#383

LWG#384

LWG#386

LWG#387

LWG#389

LWG#391

LWG#395

LWG#396

LWG#400

LWG#401

LWG#402

LWG#403

LWG#404

LWG#405

LWG#406

LWG#407

LWG#409

LWG#410

LWG#411

LWG#412

LWG#413

LWG#414

LWG#415

LWG#416

LWG#419

LWG#420

LWG#422

LWG#425

LWG#426

LWG#427

LWG#428

LWG#430

LWG#431

LWG#432

LWG#434

LWG#435

LWG#436

LWG#438

LWG#441

LWG#442

LWG#443

LWG#444

LWG#445

LWG#448

LWG#449

LWG#453

LWG#455

LWG#456

LWG#457

LWG#460

LWG#461

LWG#464

LWG#465

LWG#467

LWG#468

LWG#469

LWG#471

LWG#473

LWG#474

LWG#475

LWG#478

LWG#482

LWG#485

LWG#488

LWG#495

LWG#496

LWG#497

LWG#498

LWG#505

LWG#507

LWG#508

LWG#518

LWG#519

LWG#520

LWG#521

LWG#522

LWG#524

LWG#525

LWG#527

LWG#530

LWG#531

LWG#533

LWG#534

[1]

LWG#535

LWG#537

LWG#538

LWG#539

LWG#540

LWG#541

LWG#542

LWG#543

LWG#545

LWG#550

LWG#551

LWG#552

LWG#556

LWG#559

LWG#561

LWG#562

LWG#563

LWG#564

LWG#565

LWG#566

LWG#567

LWG#574

LWG#575

LWG#576

LWG#577

LWG#578

LWG#581

LWG#586

LWG#589

LWG#593

LWG#594

LWG#595

LWG#596

LWG#607

LWG#608

LWG#609

LWG#610

LWG#611

LWG#612

LWG#613

LWG#616

LWG#618

LWG#619

LWG#620

LWG#621

LWG#622

LWG#623

LWG#624

LWG#625

LWG#628

LWG#629

LWG#630

LWG#634

LWG#635

LWG#638

LWG#640

LWG#643

LWG#646

LWG#650

LWG#651

LWG#652

LWG#654

LWG#655

LWG#658

LWG#659

LWG#660

LWG#661

LWG#664

LWG#665

LWG#666

LWG#671

LWG#672

LWG#673

LWG#674

LWG#675

LWG#676

LWG#677

LWG#678

LWG#679

LWG#680

LWG#681

LWG#682

LWG#685

LWG#687

LWG#688

LWG#689

LWG#691

LWG#692

LWG#693

LWG#694

LWG#695

LWG#696

LWG#697

LWG#698

LWG#699

LWG#700

LWG#703

LWG#704

LWG#705

LWG#706

LWG#709

LWG#710

LWG#711

LWG#712

LWG#713

LWG#714

LWG#715

LWG#716

LWG#719

LWG#720

LWG#722

LWG#723

LWG#724

LWG#727

LWG#728

LWG#732

LWG#734

LWG#740

LWG#742

LWG#743

LWG#744

LWG#746

LWG#749

LWG#752

LWG#753

LWG#755

[1]

LWG#756

LWG#758

LWG#759

LWG#761

LWG#762

LWG#765

LWG#766

LWG#767

LWG#768

LWG#769

LWG#770

LWG#771

LWG#772

LWG#774

LWG#775

LWG#776

LWG#777

LWG#778

LWG#779

LWG#780

LWG#781

LWG#782

LWG#783

LWG#786

LWG#787

LWG#788

LWG#789

LWG#792

LWG#793

LWG#794

LWG#798

LWG#800

LWG#801

LWG#803

LWG#804

LWG#805

LWG#806

LWG#807

LWG#808

LWG#809

LWG#810

LWG#811

LWG#813

LWG#814

LWG#815

LWG#816

LWG#817

LWG#818

LWG#819

LWG#820

LWG#821

LWG#823

LWG#824

LWG#825

LWG#827

LWG#828

LWG#829

LWG#834

LWG#835

LWG#836

LWG#838

LWG#842

LWG#843

LWG#844

LWG#845

LWG#846

LWG#847

LWG#848

LWG#850

[1]

LWG#852

LWG#853

LWG#854

LWG#856

LWG#857

LWG#858

LWG#859

LWG#860

LWG#861

LWG#865

LWG#866

LWG#868

LWG#869

LWG#870

LWG#871

LWG#872

LWG#874

LWG#875

LWG#876

LWG#878

LWG#880

LWG#881

LWG#882

LWG#883

LWG#884

LWG#885

LWG#886

LWG#888

LWG#889

LWG#890

LWG#891

LWG#893

LWG#894

LWG#896

LWG#897

LWG#898

LWG#899

LWG#900

LWG#904

LWG#907

LWG#908

LWG#909

LWG#911

LWG#920

LWG#921

LWG#922

LWG#923

LWG#924

LWG#925

LWG#929

LWG#931

LWG#932

LWG#934

LWG#938

LWG#939

LWG#940

LWG#943

LWG#944

LWG#947

LWG#948

LWG#949

LWG#950

LWG#951

LWG#953

LWG#954

LWG#956

LWG#957

LWG#958

LWG#960

LWG#962

LWG#963

LWG#964

LWG#965

LWG#966

LWG#967

LWG#968

LWG#970

LWG#974

LWG#975

LWG#976

LWG#978

LWG#981

LWG#982

LWG#983

LWG#984

LWG#985

LWG#986

LWG#987

LWG#990

LWG#991

LWG#993

LWG#994

LWG#997

LWG#998

LWG#999

LWG#1004

LWG#1006

LWG#1011

LWG#1012

LWG#1014

LWG#1019

LWG#1021

LWG#1030

LWG#1033

LWG#1034

LWG#1037

LWG#1038

LWG#1039

LWG#1040

LWG#1043

LWG#1044

LWG#1045

LWG#1046

LWG#1047

LWG#1048

LWG#1049

LWG#1050

LWG#1054

LWG#1055

LWG#1065

LWG#1066

LWG#1070

LWG#1071

LWG#1073

LWG#1075

LWG#1079

LWG#1088

LWG#1089

LWG#1090

LWG#1093

LWG#1094

LWG#1095

LWG#1097

LWG#1098

LWG#1100

LWG#1103

LWG#1104

LWG#1106

LWG#1108

LWG#1110

LWG#1113

LWG#1114

LWG#1116

LWG#1117

LWG#1118

LWG#1122

LWG#1123

LWG#1126

LWG#1129

LWG#1130

LWG#1131

LWG#1133

LWG#1134

LWG#1135

LWG#1136

LWG#1137

LWG#1138

LWG#1143

LWG#1144

LWG#1145

LWG#1146

LWG#1147

LWG#1151

LWG#1152

LWG#1157

LWG#1158

LWG#1159

LWG#1160

LWG#1161

LWG#1162

LWG#1163

LWG#1165

LWG#1166

LWG#1170

LWG#1171

LWG#1172

LWG#1174

LWG#1177

LWG#1178

LWG#1180

LWG#1181

LWG#1182

LWG#1183

LWG#1185

LWG#1187

LWG#1189

LWG#1191

LWG#1192

LWG#1193

LWG#1194

LWG#1195

LWG#1196

LWG#1197

LWG#1198

LWG#1199

LWG#1204

LWG#1205

LWG#1206

LWG#1207

LWG#1208

LWG#1209

LWG#1210

LWG#1211

LWG#1212

LWG#1215

LWG#1216

LWG#1218

LWG#1220

LWG#1221

LWG#1222

LWG#1225

LWG#1226

LWG#1227

LWG#1229

LWG#1231

LWG#1234

LWG#1237

LWG#1240

LWG#1241

LWG#1244

LWG#1245

LWG#1247

LWG#1248

LWG#1249

LWG#1250

LWG#1252

LWG#1253

LWG#1254

LWG#1255

LWG#1256

LWG#1257

LWG#1258

LWG#1260

LWG#1261

LWG#1262

LWG#1264

LWG#1266

LWG#1267

LWG#1268

LWG#1269

LWG#1270

LWG#1271

LWG#1272

LWG#1273

LWG#1274

LWG#1275

LWG#1276

LWG#1277

LWG#1278

LWG#1279

LWG#1280

LWG#1281

LWG#1283

LWG#1284

LWG#1285

LWG#1286

LWG#1287

LWG#1288

LWG#1290

LWG#1291

LWG#1292

LWG#1293

LWG#1294

LWG#1295

LWG#1297

LWG#1298

LWG#1299

LWG#1300

LWG#1303

LWG#1304

LWG#1305

LWG#1306

LWG#1307

LWG#1309

LWG#1310

LWG#1311

LWG#1312

LWG#1316

LWG#1319

LWG#1321

LWG#1322

LWG#1323

LWG#1324

LWG#1325

LWG#1326

LWG#1327

LWG#1328

LWG#1329

LWG#1332

LWG#1333

LWG#1334

LWG#1335

LWG#1337

LWG#1338

LWG#1339

LWG#1340

LWG#1344

LWG#1345

LWG#1346

LWG#1347

LWG#1349

LWG#1353

LWG#1354

LWG#1355

LWG#1356

LWG#1357

LWG#1360

LWG#1362

LWG#1363

LWG#1364

LWG#1365

LWG#1366

LWG#1367

LWG#1368

LWG#1370

LWG#1372

LWG#1377

LWG#1378

LWG#1379

LWG#1380

LWG#1381

LWG#1382

LWG#1383

LWG#1384

LWG#1385

LWG#1386

LWG#1387

LWG#1388

LWG#1389

LWG#1390

LWG#1391

LWG#1392

LWG#1393

LWG#1394

LWG#1397

LWG#1399

LWG#1400

LWG#1401

LWG#1402

LWG#1403

LWG#1404

LWG#1405

LWG#1407

LWG#1408

LWG#1409

LWG#1410

LWG#1412

LWG#1414

LWG#1416

LWG#1417

LWG#1418

LWG#1420

LWG#1421

LWG#1423

LWG#1424

LWG#1425

LWG#1426

LWG#1427

LWG#1428

LWG#1429

LWG#1430

LWG#1431

LWG#1432

LWG#1435

LWG#1436

LWG#1437

LWG#1438

LWG#1439

LWG#1440

LWG#1441

LWG#1445

LWG#1447

LWG#1448

LWG#1449

LWG#1453

LWG#1455

LWG#1457

LWG#1460

LWG#1462

LWG#1464

LWG#1465

LWG#1466

LWG#1467

LWG#1468

LWG#1469

LWG#1474

LWG#1478

LWG#1479

LWG#1480

LWG#1481

LWG#1482

LWG#1487

LWG#1490

LWG#1491

LWG#1492

LWG#1494

LWG#1497

LWG#1498

LWG#1501

LWG#1502

LWG#1504

LWG#1505

LWG#1507

LWG#1508

LWG#1513

LWG#1514

LWG#1515

LWG#1516

LWG#1517

LWG#1518

LWG#1519

LWG#1520

LWG#1522

LWG#1523

LWG#1524

LWG#1525

LWG#2000

LWG#2001

LWG#2002

LWG#2004

LWG#2007

LWG#2008

LWG#2014

LWG#2017

LWG#2019

LWG#2020

LWG#2022

LWG#2023

LWG#2024

LWG#2025

LWG#2027

LWG#2029

LWG#2030

LWG#2031

LWG#2032

LWG#2034

LWG#2037

LWG#2041

LWG#2042

1.0

1.1

1.2

The reslution of these defects added the following member functions, but they are not available in the C++98 mode of

libstdc++

:

std::basic_string::back()

std::basic_string::front()

std::basic_string::pop_back()

std::basic_string::shrink_to_fit()

std::deque::shrink_to_fit()

std::vector::shrink_to_fit()

Compiler support

C++11 core language features

C++11 featurePaper(s)GCC

Clang

MSVC

Apple Clang

EDG eccp

Intel C++

Nvidia HPC C++ (ex PGI)*

Nvidia nvcc

Cray

Embarcadero C++ Builder

IBM Open XL C++ for AIX

IBM Open XL C++ for z/OS

IBM XL C++

Sun/Oracle C++

HP aCC

Digital Mars C++

C99

preprocessor

N1653

4.3 Yes 19.0 (2015)*(partial)*
19.26*Yes 4.1 11.1 2015 7.0 8.4 Yes 17.1.0 1.1.0 10.1 5.9 A.06.25 Yes

static_assert

(

FTM

)*

N1720

4.3 2.9 16.0*Yes 4.1 11.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 11.1 5.13 A.06.25 8.52 Right angle brackets

N1757

4.3 Yes 14.0*Yes 4.1 11.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 12.1 5.13 Extended

friend

declarations

N1791

4.7 2.9 16.0*Yes 4.1 11.1 (partial)
12.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 11.1 5.13 A.06.25

long long

N1811

Yes Yes 14.0*Yes Yes Yes 2015 7.0 8.4 Yes 17.1.0 1.1.0 Yes Yes Yes Yes

auto

N1984

4.4 Yes 16.0*Yes 3.9 11.0 (partial)*
12.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 11.1 5.13 A.06.25

Delegating constructors

(

FTM

)*

N1986

4.7 3.0 18.0*Yes 4.7 14.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 11.1 5.13 A.06.28 externtemplate

N1987

3.3 Yes 12.0*Yes 3.9 9.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 11.1 5.13 A.06.25

constexpr

(

FTM

)*

N2235

4.6 3.1 19.0 (2015)*Yes 4.6 13.0 (partial)
14.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 12.1 (partial)
13.1 5.13 A.06.28

char16_t

and

char32_t

(

FTM

)*

N2249

4.4 2.9 19.0 (2015)*Yes 4.4 12.1 (partial)*
14.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 13.1.1*5.13 A.06.27 8.52 Compiler support for

type traits

. N2255*

N2255

N2984

N3142

4.3 (partial)*
4.8 (partial)*
5 3.0 14.0*
(partial)*
19.0 (2015)*Yes 4.0 10.0 2015 8.4 Yes 17.1.0 1.1.0 13.1.3 5.13 6.16

Template aliases

(

FTM

)*

N2258

4.7 3.0 18.0*Yes 4.2 12.1 2015 7.0 8.4 Yes 17.1.0 1.1.0 13.1.1*5.13 A.06.27

alignas

N2341

4.8 3.0 19.0 (2015)*Yes 4.8 15.0 2015 7.0 8.6 Yes 17.1.0 1.1.0 13.1.2*5.13

alignof

N2341

4.5 2.9 19.0 (2015)*Yes 4.8 15.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 13.1.2*5.13 Defaulted and deleted functions

N2346

4.4 3.0 18.0*Yes 4.1 12.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 13.1 5.13 A.06.25

Strongly-typed enum

N2347

4.4 2.9 16.0* (partial)
17.0*Yes 4.0 13.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 12.1 5.13 A.06.25

Atomic operations

N2427

4.4 3.1 17.0*Yes Yes 13.0 2015 8.4 Yes 17.1.0 1.1.0 13.1.2*5.14

nullptr

N2431

4.6 2.9 16.0*Yes 4.2 12.1 2015 7.0 8.4 Yes 17.1.0 1.1.0 13.1 5.13 A.06.27 8.52 Explicit

conversion operators

N2437

4.5 3.0 18.0*Yes 4.4 13.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 12.1 5.13 A.06.27 ref-qualifiers (

FTM

)*

N2439

4.8.1 2.9 19.0 (2015)*Yes 4.7 14.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 13.1.2*5.13 A.06.28 Unicode

string literals

(

FTM

)*

N2442

4.4 3.0 19.0 (2015)*Yes 4.7 11.0*2015 7.0 8.4 Yes 17.1.0 1.1.0 10.1*
13.1.1*5.7 A.06.28 8.52 Raw

string literals

(

FTM

)*

N2442

4.5 Yes 18.0*Yes 4.7 14.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 13.1.1, except AIX xlC 13.1.3*5.13 A.06.28 8.52

Inline namespaces

N2535

4.4 2.9 19.0 (2015)*Yes 4.5 14.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 11.1 5.13 A.06.28

Inheriting constructors

(

FTM

)*

N2540

4.8 3.3 19.0 (2015)*Yes 4.8 15.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 13.1.1*5.13

Trailing function return types

N2541

4.4 2.9 16.0*Yes 4.1 12.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 12.1 5.13 A.06.27 Unrestricted

unions

N2544

4.6 3.0 19.0 (2015)*Yes 4.6 14.0*2015 7.0 8.4 Yes 17.1.0 1.1.0 13.1.2*5.13 A.06.28

Variadic templates

(

FTM

)*

N2242

N2555

4.3 (partial)*
4.4 2.9 18.0*Yes 4.3 (partial)*
4.3 12.1 2015 7.0 8.4 Yes 17.1.0 1.1.0 11.1 (partial)*5.13 A.06.27

Expression SFINAE

N2634

4.4 2.9 19.14*Yes 4.2 12.1 2015 7.0 8.4 Yes 17.1.0 1.1.0 Local and unnamed types as template parameters

N2657

4.5 2.9 16.0*Yes 4.2 12.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 13.1.2*5.13 A.06.27

Thread-local storage

N2659

4.4 (partial)
4.8 3.3*16.0* (partial)
19.0 (2015)*Yes 4.8 11.1 (partial)
15.0*2015 8.4 Yes 17.1.0 1.1.0 10.1 (partial)*
13.1.2 (partial)*5.9 (partial) 8.52 (partial) Dynamic initialization and destruction with concurrency (

magic statics

) (

FTM

)*

N2660

4.3 2.9 19.0 (2015)*Yes Yes 11.1*2015 8.4 Yes 17.1.0 1.1.0 13.1.2*5.13 A.06.25 Garbage Collection and Reachability-Based Leak Detection

N2670

Initializer lists

(

FTM

)*

N2672

4.4 3.1 18.0*Yes 4.5 13.0 (partial)
14.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 13.1.2*5.13 A.06.28

Non-static data member initializers

(

FTM

)*

N2756

4.7 3.0 18.0*Yes 4.6 14.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 13.1.2*5.13 A.06.28

Attributes

, [[

noreturn

]] (

FTM

)*

N2761

4.8 3.3 19.0 (2015)*Yes 4.2 12.1 2015 7.0 8.4 Yes 17.1.0 1.1.0 13.1.1*5.13 A.06.27 [[

carries_dependency

]]

N2556

N2643

3.3*17.1.0*

Forward (opaque) enum declarations

N2764

4.6 3.1 17.0*Yes 4.5 11.1 (partial)
14.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 12.1 5.13

User-defined literals

(

FTM

)*

N2765

4.7 3.1 19.0 (2015)*Yes 4.8 15.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 13.1.2*5.14

Rvalue references

(

FTM

)*

N2118

N2844

CWG1138

4.3 (partial)*
4.5 2.9 16.0*(partial)*
17.0*Yes 4.5 11.1 (partial)*
12.0 (partial)*
14.0 2015 7.0*8.4 Yes 17.1.0 1.1.0 12.1 5.13 A.06.25

Lambda expressions

(

FTM

)*

N2550

N2658

N2927

4.5 3.1 16.0*(partial)*
17.0*Yes 4.1 12.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 13.1.2*5.13 A.06.25

Range-for loop

(

FTM

)*

N2930

N3271

4.6 3.0 17.0*Yes 4.5 13.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 13.1.2*5.13 A.06.28

noexcept

N3050

4.6 3.0 19.0 (2015)*Yes 4.5 14.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 13.1.1*5.13 A.06.28 Defaulted move

special

member

functions

N3053

4.6 3.0 19.0 (2015)*Yes 4.5 14.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 5.13 A.06.25

override

and

final

N2928

N3206

N3272

4.7 2.9 14.0* (partial)
17.0*Yes 4.8 12.0 (partial)*
14.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 13.1.1*5.13

decltype

(

FTM

)*

N2343

N3276

4.3 (partial)*
4.8.1 2.9 16.0*(partial)*
17.0*Yes 4.2 (partial)*
4.8 11.0 (partial)*
12.0 2015 7.0 8.4 Yes 17.1.0 1.1.0 11.1 (partial)*5.13 A.06.25 8.52 (partial)*C++11 feature

Paper(s)

GCC

Clang

MSVC

Apple Clang

EDG eccp

Intel C++

Nvidia HPC C++ (ex PGI)*

Nvidia nvcc

Cray

Embarcadero C++ Builder

IBM Open XL C++ for AIX

IBM Open XL C++ for z/OS

IBM XL C++

Sun/Oracle C++

HP aCC

Digital Mars C++

C++11 library features

C++11 featurePaper(s)GCC libstdc++

Clang libc++

MSVC STL

Apple Clang*

IBM Open XL C/C++ for AIX*

Sun/Oracle C++*

Embarcadero C++ Builder*

Regular expressions library

N1429

4.9 2.8 Yes Yes 17.1.0

Type traits

. N1836*

N1836

N2240

N2244

N2255

N2342

N2984

N3142

4.3 (partial)*
4.8 (partial)*
5 3.0 14.0*
(partial)*
19.0 (2015)*Yes 17.1.0 5.13 Yes Member functions cbegin, cend, crbegin, and crend of containers

N1913

LWG1192

4.3 (partial)*
4.5 Yes*16.0*Yes*17.1.0

Garbage Collection

and Reachability-Based Leak Detection (

library support

)

N2670

6
(no-op)*3.4
(no-op)*19.0 (2015)*
(no-op)*Yes
(no-op)*17.1.0

Money, Time, and hexfloat I/O manipulators

N2071

N2072

5 3.8 19.0 (2015)*Yes 17.1.0 5.15 Disallowing

COW (copy-on-write)

std::basic_string

N2668

5 Yes Yes Yes 17.1.0 Yes C++11 feature

Paper(s)

GCC libstdc++

Clang libc++

MSVC STL

Apple Clang*

IBM Open XL C/C++ for AIX*

Sun/Oracle C++*

Embarcadero C++ Builder*

* - hover over a cell marked with the star * to see additional pop-up notes.
DRnn - the number nn after "DR" denotes target C++ revision the Defect Report is applied to, e.g., DR20 → C++20.

External links