KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
c++-faq
24 questions
Follow Tag
Sort by:
Newest
Votes
Active
394
votes
15
answers
When is std::weak_ptr useful?
c++
c++11
shared-ptr
weak-ptr
c++-faq
asked 2012-08-19T23:00:05.107
28
votes
3
answers
Where can I find all the exception guarantees for the Standard Containers and Algorithms?
c++
exception
standard-library
c++-faq
exception-safety
asked 2012-07-28T07:12:22.187
32
votes
3
answers
What are the stages of compilation of a C++ program?
c++
compiler-construction
compilation
c++-faq
asked 2012-01-12T10:29:11.850
696
votes
5
answers
Why is iostream::eof inside a loop condition (i.e. `while (!stream.eof())`) considered wrong?
c++
iostream
c++-faq
asked 2011-04-09T12:49:36.447
530
votes
7
answers
What's the difference between "STL" and "C++ Standard Library"?
c++
stl
std
c++-faq
asked 2011-03-05T17:32:14.067
15
votes
13
answers
What's wrong with const?
c++
c++11
c++-faq
asked 2011-01-12T14:26:21.363
271
votes
3
answers
Why do I have to access template base class members through the this pointer?
c++
templates
inheritance
c++-faq
asked 2011-01-10T01:42:38.393
13
votes
6
answers
Why do I see strange values when I print uninitialized variables?
c++
variables
c++-faq
initialization
asked 2010-11-23T19:20:26.633
169
votes
5
answers
What is the proper declaration of main in C++?
c++
function
language-lawyer
program-entry-point
c++-faq
asked 2010-11-17T17:12:00.033
1075
votes
6
answers
What are sequence points, and how do they relate to undefined behavior?
c++
undefined-behavior
c++-faq
sequence-points
asked 2010-11-14T05:37:46.333
602
votes
8
answers
What are the main purposes of std::forward and which problems does it solve?
c++
c++11
rvalue-reference
c++-faq
perfect-forwarding
asked 2010-08-27T06:59:04.183
2424
votes
5
answers
What is the copy-and-swap idiom?
c++
copy-constructor
assignment-operator
c++-faq
copy-and-swap
asked 2010-07-19T08:42:09.907
48
votes
7
answers
What C++ idioms should C++ programmers use?
c++
design-patterns
idioms
c++-faq
asked 2009-11-18T22:28:55.523
216
votes
2
answers
What do the following phrases mean in C++: zero-, default- and value-initialization?
c++
initialization
c++-faq
asked 2009-10-23T13:14:45.477
1075
votes
27
answers
What is the difference between a definition and a declaration?
c++
c
declaration
terminology
c++-faq
asked 2009-09-11T12:27:12.883
1870
votes
23
answers
What is the difference between const int*, const int * const, and int * const?
c++
c
pointers
constants
c++-faq
asked 2009-07-17T13:28:09.233
346
votes
11
answers
What is a "translation unit" in C++?
c++
c++-faq
asked 2009-07-09T20:01:13.810
419
votes
17
answers
Is the practice of returning a C++ reference variable evil?
c++
reference
c++-faq
asked 2009-04-15T16:49:49.757
495
votes
12
answers
Resolve build errors due to circular dependency amongst classes
c++
compiler-errors
circular-dependency
c++-faq
asked 2009-03-09T10:57:28.867
1422
votes
10
answers
Where and why do I have to put the "template" and "typename" keywords?
c++
templates
typename
c++-faq
dependent-name
asked 2009-03-04T11:56:16.583
2340
votes
20
answers
Why can templates only be implemented in the header file?
c++
templates
undefined-reference
c++-faq
asked 2009-01-30T10:06:50.997
71
votes
8
answers
Why do we actually need Private or Protected inheritance in C++?
c++
inheritance
private
protected
c++-faq
asked 2008-12-17T12:29:42.560
934
votes
17
answers
What is object slicing?
c++
inheritance
c++-faq
object-slicing
asked 2008-11-08T11:10:13.897
295
votes
19
answers
Why does volatile exist?
c++
volatile
c++-faq
asked 2008-09-16T13:59:45.667