Skip to content

What’s new in C++11

= default, 265, 506

= delete, 507

allocator, construct forwards to any constructor, 482

array container, 327

auto, 68

  • for type abbreviation, 88, 129

  • not with dynamic array, 478

  • with dynamic object, 459

begin function, 118

bind function, 397

bitset enhancements, 726

constexpr

  • constructor, 299

  • function, 239

  • variable, 66

container

  • cbegin and cend, 109, 334

  • emplace members, 345

  • insert return type, 344

  • nonmember swap, 339

  • of container, 97, 329

  • shrink_to_fit, 357

decltype, 70

  • function return type, 250

delegating constructor, 291

deleted copy-control, 624

division rounding, 141

end function, 118

enumeration

  • controlling representation, 834

  • forward declaration, 834

  • scoped, 832

explicit conversion operator, 582

explicit instantiation, 675

final class, 600

format control for floating-point, 757

forward function, 694

forward_list container, 327

function interface to callable objects, 577

in-class initializer, 73, 274

inherited constructor, 628, 804

initializer_list, 220

inline namespace, 790

lambda expression, 388

list initialization

long long, 33

mem_fn function, 843

move function, 533

move avoids copies, 529

move constructor, 534

move iterator, 543

move-enabled this pointer, 546

noexcept

  • exception specification, 535, 779

  • operator, 780

nullptr, 54

random-number library, 745

range for statement, 91, 187

  • not with dynamic array, 477

regular expression-library, 728

rvalue reference, 532

  • cast from lvalue, 691

  • reference collapsing, 688

sizeof data member, 157

sizeof... operator, 700

smart pointer, 450

string

  • numeric conversions, 367

  • parameter with IO types, 317

template

  • function template default template argument, 670

  • type alias, 666

  • type parameter as friend, 666

  • variadic, 699

  • varidadics and forwarding, 704

trailing return type, 229

  • in function template, 684

  • in lambda expression, 396

tuple, 718

type alias declaration, 68

union member of class type, 848

unordered containers, 443

virtual function