User profile: JLBorges

User info
User name:JLBorges
History
Joined:
Number of posts:5620
Latest posts:

N4190
> I don't see where you think I went wrong with my statement about the as-if rule. First, try to un...

Double being rounded?
[code]// double num = 68 / 20; // integer division double num = 68 / 20.0 ;[/code]

N4190
> This is probably just going to lead to a lot of compilers leaning on the "As-if" rule to > swap ou...

2D Arrays
[code]int x = 24; int y = 60; char c = ' ';[/code] These names have external linkage. If you want ...

How to "reserve" memory for maps
1. There is no way to modify a key; the value_type of a map is [tt]std::pair<[b]const[/b] Key, T>[/t...