John Kalane's user avatar
John Kalane's user avatar
John Kalane's user avatar
John Kalane
  • Member for 11 years, 8 months
  • Last seen this week
21 votes
6 answers
2k views

Apparent contradiction between Stroustrup book and the C++Standard

16 votes
2 answers
7k views

Difference between basic_istream<>::tellg() and basic_ostream<>::tellp() [closed]

8 votes
3 answers
3k views

What can go wrong if cout.rdbuf() is used to switch buffer and never set it back?

8 votes
3 answers
3k views

What's the difference between a tracked and a staged file?

6 votes
1 answer
153 views

What is the exact meaning of the statement "The expression e is used as a glvalue if and only if the initialization uses it as a glvalue" in [conv]/6

4 votes
2 answers
189 views

Why `s.clear(ios::badbit);` below? Why not `s.clear(ios::failbit);`?

4 votes
1 answer
128 views

What does Note 10 mean in [basic.lval]/11?

4 votes
1 answer
208 views

How does the scheme below garantees there'll be just one definition for the objects cin, cout, ...?

3 votes
1 answer
69 views

The declarations in the link below don't need the storage-class-specifier `static`. Am I correct? [duplicate]

3 votes
1 answer
286 views

In c++, `expressions` are allowed in global scope only to initialize global objects. Where can I find this in the Standard?

2 votes
1 answer
79 views

One can call a base class function from a derived class function with the same name. But I can't find a quote from the Standard supporting this

2 votes
0 answers
80 views

_ADDRESSOF(v) macro definition in VS2019 C++ [duplicate]

2 votes
1 answer
2k views

Why does VirtualAlloc() require flProtect = PAGE_NOACCESS when flAllocationType = MEM_RESERVE?

2 votes
1 answer
153 views

I'd like to know which is the C++ Standard draft number corresponding to the link below

2 votes
1 answer
94 views

Doubts about [dcl.spec]/3 in c++1z

2 votes
2 answers
117 views

How come the code below works?

2 votes
1 answer
1k views

Why the "ambigous symbol" error in VS2010 for the code below?

2 votes
5 answers
123 views

I need some help to understand this paragraph from Nicolai Josuttis book

1 vote
1 answer
72 views

Why doesn't GNU's documentation list pubseekoff as a member of basic_streambuf?

1 vote
1 answer
309 views

Why basic_streambuf::pubseekoff() is not a pure virtual function?

1 vote
2 answers
47 views

Bare repositories and cloning

1 vote
1 answer
490 views

Why do I have to set a source `.asm` file's `Properties > General > Item Type` to ` Microsoft Macro Assembler` ...?

1 vote
1 answer
345 views

This seems to be an error in the book C++ Primer 5th edition

0 votes
1 answer
54 views

What is the message that the second example in [class.virtual]/2 is trying to convey?

0 votes
2 answers
131 views

Flags for `ios_base` are all static const integral variables. How come one can change them with `ios_base::setf()`?

0 votes
1 answer
254 views

The code below prints the character for the pi number in VS2019, instead of the character `ã`. What am I missing?

0 votes
1 answer
608 views

I'm trying to build my first assembly project in VS2019 to no avail

0 votes
1 answer
124 views

Where in the C++20 standard (N4860) does it say that an inline function must be defined before its use in a translation unit?

0 votes
1 answer
1k views

Patterns in the .gitignore file and elsewhere

0 votes
1 answer
368 views

How come disassemblies for x86 show registers for the x64 platform?