Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Jabbles
on April 25, 2012
|
parent
|
context
|
favorite
| on:
Multithreaded data structures for parallel computi...
I agree. Listing 11 won't even compile as was_empty is declared const.
jey
on April 25, 2012
[–]
That use of const is fine, as it's never modified after the initial value is assigned.
erydo
on April 25, 2012
|
parent
[–]
No, Jabbles is correct: look at listing 11. It's reassigned five lines down.
jey
on April 26, 2012
|
root
|
parent
[–]
Oops, I was looking at listing 8. Thanks.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: