Ali's user avatar
Ali's user avatar
Ali's user avatar
Ali
Independent Software Development Consultant and Trainer
  • Member for 12 years, 10 months
  • Last seen this week
506 votes
6 answers
119k views

Why does GCC generate 15-20% faster code if I optimize for size instead of speed?

249 votes
3 answers
30k views

Why do I have to access template base class members through the this pointer?

162 votes
3 answers
35k views

What is the advantage of using forwarding references in range-based for loops?

36 votes
3 answers
9k views

Tools to generate higher-quality error messages for template-based code?

36 votes
10 answers
16k views

(Re)named std::pair members

30 votes
3 answers
37k views

How to set text alignment on a column of QTableView programmatically?

28 votes
5 answers
2k views

Is there any technical reason why std::lower_bound is not specialized for red-black tree iterators?

26 votes
3 answers
12k views

Should I still return const objects in C++11? [duplicate]

20 votes
1 answer
1k views

Why does tree vectorization make this sorting algorithm 2x slower?

19 votes
3 answers
4k views

Comparing two map::iterators: why does it need the copy constructor of std::pair?

16 votes
4 answers
25k views

CreateFile: direct write operation to raw disk "Access is denied" - Vista, Win7

15 votes
3 answers
10k views

Portable end of line (newline)

13 votes
5 answers
15k views

How can I display the href as the text too?

12 votes
3 answers
15k views

How to make images stay within the rows of a css grid container?

11 votes
3 answers
2k views

How to sort an array of integers faster than quicksort?

11 votes
2 answers
825 views

Why is splicing an entire list or a range linear for std::forward_list?

11 votes
1 answer
8k views

How to launch the associated application for a file / directory / URL?

10 votes
2 answers
9k views

.ico icons not showing up on Windows

9 votes
3 answers
656 views

How to overcome C++'s lack of tool support for embedded systems? [closed]

9 votes
7 answers
3k views

Transforming expression given in prefix notation, identifying common subexpressions and dependencies

9 votes
1 answer
609 views

How to do range splice in constant time with std::forward_list?

8 votes
4 answers
2k views

How to use doctest with logging?

7 votes
1 answer
2k views

How can I prevent Chrome from loading a cached webpage when offline?

7 votes
3 answers
2k views

How to deduce array size from an enum template argument?

7 votes
2 answers
3k views

Processing files larger than 2 GB in C++ with STL

7 votes
3 answers
6k views

When does it make sense to use unique_ptr with STL containers? (C++11)

6 votes
1 answer
7k views

Can I get write access to raw disk sectors under Vista and Windows 7 in user mode?

6 votes
6 answers
2k views

Differences between the C++ and the Java object model [closed]

6 votes
2 answers
786 views

Finding where std::out_of_range is thrown by std::vector.at()

5 votes
1 answer
4k views

error: invalid conversion from 'void (*)()' to 'void (*)()' -- what?