Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation Container Overview Doesn't Reference Const Methods #1579

Closed
xloem opened this issue Apr 23, 2019 · 1 comment
Closed

Documentation Container Overview Doesn't Reference Const Methods #1579

xloem opened this issue Apr 23, 2019 · 1 comment
Labels
documentation state: stale the issue has not been updated in a while and will be closed automatically soon unless it is updated

Comments

@xloem
Copy link

xloem commented Apr 23, 2019

At https://nlohmann.github.io/json/ there is a table labeled "container overview" that is very helpful for learning the library.

I trusted the operator[] documentation for object but ran into a crash because I was using the const operator instead of the one documented (I tried passing a non-present key, expecting null back).

This could have been deftly evaded for me if that table had included links to the const methods too.

@stale
Copy link

stale bot commented May 24, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the state: stale the issue has not been updated in a while and will be closed automatically soon unless it is updated label May 24, 2019
@stale stale bot closed this as completed May 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation state: stale the issue has not been updated in a while and will be closed automatically soon unless it is updated
Projects
None yet
Development

No branches or pull requests

2 participants