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: 211994

Answers: 5

Read More
akbiggs
akbiggs

Reputation: 35211

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

Score: 3443

Views: 1284979

Answers: 40

Read More
fredoverflow
fredoverflow

Reputation: 263310

What is The Rule of Three?

Score: 2552

Views: 395373

Answers: 8

Read More
grepsedawk
grepsedawk

Reputation: 6059

The Definitive C++ Book Guide and List

Score: 4228

Views: 3285871

Answers: 1

Read More
Christoffer
Christoffer

Reputation: 12910

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

Score: 393

Views: 193886

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: 330348

Answers: 17

Read More
einpoklum
einpoklum

Reputation: 132128

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

Score: 19

Views: 6556

Answers: 1

Read More
Elroy
Elroy

Reputation: 595

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

Score: 132

Views: 162124

Answers: 16

Read More
sbi
sbi

Reputation: 224149

What are the basic rules and idioms for operator overloading?

Score: 2484

Views: 1046151

Answers: 10

Read More
jfm3
jfm3

Reputation: 37812

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

Score: 957

Views: 121887

Answers: 9

Read More
MainID
MainID

Reputation: 30094

Why can templates only be implemented in the header file?

Score: 2322

Views: 830462

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: 1379107

Answers: 24

Read More
bolov
bolov

Reputation: 75853

How to write C++ getters and setters

Score: 72

Views: 162176

Answers: 5

Read More
James McNellis
James McNellis

Reputation: 355227

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

Score: 1704

Views: 283447

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: 1016919

Answers: 40

Read More
Basilevs
Basilevs

Reputation: 23929

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

Score: 1185

Views: 634098

Answers: 10

Read More
Fedor
Fedor

Reputation: 21307

What is std::expected in C++?

Score: 39

Views: 29824

Answers: 1

Read More
CoderInNetwork
CoderInNetwork

Reputation: 3093

uint8_t can't be printed with cout

Score: 229

Views: 169834

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: 15165

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: 103153

Answers: 10

Read More
PreviousPage 1Next