Skip to main content
Gem Taylor's user avatar
Gem Taylor's user avatar
Gem Taylor's user avatar
Gem Taylor
  • Member for 7 years, 1 month
  • Last seen this week
27 votes

How does this piece of code determine array size without using sizeof( )?

24 votes

Why doesn't my compiler recognise "Bond() = default;"?

12 votes

How to resolve dangling const ref

11 votes

tail a log file from a specific line number

11 votes

Why is a parameter pack allowed after default arguments?

8 votes

Is it possible to use std::basic_string as a wrapper around char*?

7 votes

To extern "C" or Not to extern "C" [g++ vs cl]

6 votes
Accepted

Casting function pointers with different return types

6 votes

Can a function return a pointer to its own type?

5 votes

Why this output string to number?

5 votes
Accepted

Segmentation fault due to string copy

4 votes

How do I remove this inheritance-related code smell?

4 votes

Why compilers test the least significant bit in an address?

4 votes

Are bitmask checks more efficient than comparing numbers?

4 votes
Accepted

inline assembly in C++ function with return statement

4 votes

How can I use all the cores in the loop?

4 votes
Accepted

erase set element while iterating///

4 votes

What's more efficient to keep the fstream open or to open it every time it needs to be used?

4 votes

Assigning string chars from end to start

3 votes
Accepted

How to ignore a repeated charcater in a line from a file using bash?

3 votes

Could std::list be used for a simple lock-free queue?

3 votes

implementing pipe and redirection together in C

3 votes

template overloading resolution rules

3 votes
Accepted

Undefined symbol when using C++ source for f2py

3 votes

Which is more efficient, basic mutex lock or atomic integer?

3 votes

How to multiply integer constant by Fraction Object in C++

3 votes
Accepted

Why does std::strlen() work on char arrays WITHOUT terminating null characters? Is this a compiler optimization?

3 votes

Why using a reference as an iterator

2 votes
Accepted

How to prevent while loop outputs from colliding with previous outputs?

2 votes

Is there an authoritative way to guard against "use after move" mistakes in c++?

1
2 3 4 5
13