tagged [c++-faq]
What does the C++ standard state the size of int, long type to be?
What does the C++ standard state the size of int, long type to be? I'm looking for detailed information regarding the size of basic C++ types. I know that it depends on the architecture (16 bits, 32 b...
C++11 rvalues and move semantics confusion (return statement)
C++11 rvalues and move semantics confusion (return statement) I'm trying to understand rvalue references and move semantics of C++11. What is the difference between these examples, and which of them i...
- Modified
- 20 Jun at 09:12
What is the copy-and-swap idiom?
What is the copy-and-swap idiom? What is the copy-and-swap idiom and when should it be used? What problems does it solve? Does it change for C++11? Related: - [What are your favorite C++ Coding Style ...
- Modified
- 4 Jul at 21:56
Is the practice of returning a C++ reference variable evil?
Is the practice of returning a C++ reference variable evil? This is a little subjective I think; I'm not sure if the opinion will be unanimous (I've seen a lot of code snippets where references are re...
The Definitive C++ Book Guide and List
The Definitive C++ Book Guide and List This question attempts to collect the few pearls among the dozens of bad C++ books that are published every year. Unlike many other programming languages, which ...
Resolve build errors due to circular dependency amongst classes
Resolve build errors due to circular dependency amongst classes I often find myself in a situation where I am facing multiple compilation/linker errors in a C++ project due to some bad design decision...
- Modified
- 12 Oct at 14:20