StackOverflow Questions for Tag: c%2B%2B-faq

einpoklum
einpoklum

Reputation: 132128

What is a "span" and when should I use one?

Score: 477

Views: 212033

Answers: 5

Read More
akbiggs
akbiggs

Reputation: 35211

What's the problem with "using namespace std;"?

Score: 3443

Views: 1285044

Answers: 40

Read More
fredoverflow
fredoverflow

Reputation: 263320

What is The Rule of Three?

Score: 2552

Views: 395388

Answers: 8

Read More
grepsedawk
grepsedawk

Reputation: 6059

The Definitive C++ Book Guide and List

Score: 4228

Views: 3285996

Answers: 1

Read More
Christoffer
Christoffer

Reputation: 12910

Where do I find the current C or C++ standard documents?

Score: 393

Views: 193890

Answers: 11

Read More
Kevin
Kevin

Reputation: 25947

Does C++ support 'finally' blocks? (And what's this 'RAII' I keep hearing about?)

Score: 344

Views: 330359

Answers: 17

Read More
einpoklum
einpoklum

Reputation: 132128

What is an mdspan, and what is it used for?

Score: 19

Views: 6560

Answers: 1

Read More
Elroy
Elroy

Reputation: 595

Best practices for circular shift (rotate) operations in C++

Score: 132

Views: 162129

Answers: 16

Read More
sbi
sbi

Reputation: 224149

What are the basic rules and idioms for operator overloading?

Score: 2484

Views: 1046171

Answers: 10

Read More
jfm3
jfm3

Reputation: 37822

Why use apparently meaningless do-while and if-else statements in macros?

Score: 958

Views: 121893

Answers: 9

Read More
MainID
MainID

Reputation: 30094

Why can templates only be implemented in the header file?

Score: 2322

Views: 830486

Answers: 20

Read More
Jérôme
Jérôme

Reputation: 27047

What does the C++ standard say about the size of int, long?

Score: 759

Views: 1379123

Answers: 24

Read More
bolov
bolov

Reputation: 75854

How to write C++ getters and setters

Score: 72

Views: 162194

Answers: 5

Read More
James McNellis
James McNellis

Reputation: 355237

What are rvalues, lvalues, xvalues, glvalues, and prvalues?

Score: 1704

Views: 283461

Answers: 16

Read More
Luchian Grigore
Luchian Grigore

Reputation: 258638

What is an undefined reference/unresolved external symbol error and how do I fix it?

Score: 1823

Views: 1016953

Answers: 40

Read More
Basilevs
Basilevs

Reputation: 23939

What is std::move(), and when should it be used?

Score: 1185

Views: 634173

Answers: 10

Read More
Fedor
Fedor

Reputation: 21317

What is std::expected in C++?

Score: 39

Views: 29834

Answers: 1

Read More
CoderInNetwork
CoderInNetwork

Reputation: 3093

uint8_t can't be printed with cout

Score: 229

Views: 169844

Answers: 10

Read More
Joseph
Joseph

Reputation:

Is it possible to prevent stack allocation of an object and only allow it to be instantiated with 'new'?

Score: 59

Views: 15166

Answers: 7

Read More
Lightness Races in Orbit
Lightness Races in Orbit

Reputation: 385325

Why should I not #include <bits/stdc++.h>?

Score: 471

Views: 103165

Answers: 10

Read More
PreviousPage 1Next