Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jobigoud
on July 30, 2020
|
parent
|
context
|
favorite
| on:
Schemastore.org – schemas for all commonly known J...
So that's not a problem in JSON. Why can't the library output nullptr?
staycoolboy
on July 30, 2020
[–]
nullptr isn't "null", it's a null POINTER. In languages with a NULL type, and variable can be a NULL. E.g., in python you can say "x = null; x = 1;" in C++ you cannot say "int i = nullptr".
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: