Y
Hacker News
new
|
ask
|
show
|
jobs
by
xigoi
999 days ago
How else would you know that “cout” is std::cout and not some other cout? /s
1 comments
dataflow
999 days ago
Are you sure every name in std is as unlikely to collide as cout? What about format(), apply(), ...?
link
xigoi
999 days ago
If a name collides, nothing prevents you from explicitly qualifying it.
link
dataflow
999 days ago
When it silently changes the behavior you have no idea there was a collision.
link