-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
docs: remove unnecessary template before get in README & docs (fixes #4825) #4920
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
base: develop
Are you sure you want to change the base?
docs: remove unnecessary template before get in README & docs (fixes #4825) #4920
Conversation
|
Can you take a look at the PR will turn the DCO green once all checks are passed! |
|
Please rebase to the latest develop branch so the CI can run successfully. Also please check https://github.com/nlohmann/json/pull/4920/checks?check_run_id=50274941755 |
|
Hi @aryanrahar, can you please rebase? |
|
Actually my midsem exams are going i will do the work in 1-2 days!
…On Sat, 20 Sep 2025 at 8:09 PM, Niels Lohmann ***@***.***> wrote:
*nlohmann* left a comment (nlohmann/json#4920)
<#4920 (comment)>
Hi @aryanrahar <https://github.com/aryanrahar>, can you please rebase?
—
Reply to this email directly, view it on GitHub
<#4920 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BU52OI37IHVKF43B7B7HJGT3TVRIRAVCNFSM6AAAAACGMH6RHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTGMJVGAYDQOJTHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
No worries - good luck to you! 🍀 |
b626754 to
3ab4582
Compare
|
Can you approve the change? |
|
is there any issue? |
|
Can you please rebase to the latest |
…ADME & MkDocs (fixes nlohmann#4825) Signed-off-by: aryanrahar <[email protected]>
3ab4582 to
41a0fee
Compare
|
Done
done |
|
I just merged #4846 which worked on the same issue. Please rebase your branch to see whether there is anything left to do. |
Description
This pull request resolves issue #4825 by removing the unnecessary template keyword from get() calls in non-dependent contexts throughout the README and MkDocs documentation.
What
Replaced .template get<...>() with .get<...>() in documentation examples where it was not required.
No library code was changed.
Why
Improves the clarity and correctness of the code examples for users.
The .template keyword is only necessary for dependent names in C++ templates and can be confusing when used outside of that context.
How Tested
Successfully built and previewed the documentation locally using mkdocs.
Ran the full CTest suite as a courtesy check to ensure no regressions were introduced.