René's URL Explorer Experiment


Title: Improvements on HJson creation by lawnighthawk · Pull Request #47 · hjson/hjson-cpp · GitHub

Open Graph Title: Improvements on HJson creation by lawnighthawk · Pull Request #47 · hjson/hjson-cpp

X Title: Improvements on HJson creation by lawnighthawk · Pull Request #47 · hjson/hjson-cpp

Description: This change adds functions for insertion into the map and push_back into vector that use r-value references, allowing for functions that build HJson::Value recursively to skip allocations and copies.

Open Graph Description: This change adds functions for insertion into the map and push_back into vector that use r-value references, allowing for functions that build HJson::Value recursively to skip allocations and copies.

X Description: This change adds functions for insertion into the map and push_back into vector that use r-value references, allowing for functions that build HJson::Value recursively to skip allocations and copies.

Opengraph URL: https://github.com/hjson/hjson-cpp/pull/47

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:21eaef8e-6f3e-2a7e-68ff-63520317e22a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDB56:AF4DA:109F0B0:16D4381:698DA6A1
html-safe-nonce9204bf90e7d726f086165baef38462f48c162233b1cf1b5065c401cf6e1358ee
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjU2OkFGNERBOjEwOUYwQjA6MTZENDM4MTo2OThEQTZBMSIsInZpc2l0b3JfaWQiOiIyNzQ0NDc4MTYzOTc1MTIwNTQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1ca147bb8fe6134b81de9d6b033f9694806de4c42f165daffbfe9d1a917bcd52
hovercard-subject-tagpull_request:1647191530
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/hjson/hjson-cpp/47/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fb85bc76252f24ac9fa7c0ed853fad4956ed813346bf9c5f6082a43956bc8014/hjson/hjson-cpp/pull/47
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fb85bc76252f24ac9fa7c0ed853fad4956ed813346bf9c5f6082a43956bc8014/hjson/hjson-cpp/pull/47
og:image:altThis change adds functions for insertion into the map and push_back into vector that use r-value references, allowing for functions that build HJson::Value recursively to skip allocations and copies.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelawnighthawk
hostnamegithub.com
expected-hostnamegithub.com
None8c7947c0c592efeab6162b9909ad11fa43bff8b0cb5ff43273dc25e41979d43e
turbo-cache-controlno-preview
go-importgithub.com/hjson/hjson-cpp git https://github.com/hjson/hjson-cpp.git
octolytics-dimension-user_id20934397
octolytics-dimension-user_loginhjson
octolytics-dimension-repository_id100888094
octolytics-dimension-repository_nwohjson/hjson-cpp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id100888094
octolytics-dimension-repository_network_root_nwohjson/hjson-cpp
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0562b88b05bab6c9b1cf780b4a66b9334b3a602a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhjson%2Fhjson-cpp%2Fpull%2F47
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhjson%2Fhjson-cpp%2Fpull%2F47
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=hjson%2Fhjson-cpp
Reloadhttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47
Reloadhttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47
Reloadhttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47
hjson https://patch-diff.githubusercontent.com/hjson
hjson-cpphttps://patch-diff.githubusercontent.com/hjson/hjson-cpp
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fhjson%2Fhjson-cpp
Fork 21 https://patch-diff.githubusercontent.com/login?return_to=%2Fhjson%2Fhjson-cpp
Star 76 https://patch-diff.githubusercontent.com/login?return_to=%2Fhjson%2Fhjson-cpp
Code https://patch-diff.githubusercontent.com/hjson/hjson-cpp
Issues 1 https://patch-diff.githubusercontent.com/hjson/hjson-cpp/issues
Pull requests 2 https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pulls
Actions https://patch-diff.githubusercontent.com/hjson/hjson-cpp/actions
Projects 0 https://patch-diff.githubusercontent.com/hjson/hjson-cpp/projects
Security 0 https://patch-diff.githubusercontent.com/hjson/hjson-cpp/security
Insights https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pulse
Code https://patch-diff.githubusercontent.com/hjson/hjson-cpp
Issues https://patch-diff.githubusercontent.com/hjson/hjson-cpp/issues
Pull requests https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pulls
Actions https://patch-diff.githubusercontent.com/hjson/hjson-cpp/actions
Projects https://patch-diff.githubusercontent.com/hjson/hjson-cpp/projects
Security https://patch-diff.githubusercontent.com/hjson/hjson-cpp/security
Insights https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fhjson%2Fhjson-cpp%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fhjson%2Fhjson-cpp%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47#issue-comment-box
lawnighthawkhttps://patch-diff.githubusercontent.com/lawnighthawk
hjson:masterhttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/tree/master
NighthawkCode:law/byrvaluehttps://patch-diff.githubusercontent.com/NighthawkCode/hjson-cpp/tree/law/byrvalue
Improvements on HJson creation https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47#top
lawnighthawkhttps://patch-diff.githubusercontent.com/lawnighthawk
hjson:masterhttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/tree/master
NighthawkCode:law/byrvaluehttps://patch-diff.githubusercontent.com/NighthawkCode/hjson-cpp/tree/law/byrvalue
Conversation 11 https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47
Commits 4 https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47/commits
Checks 0 https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47/checks
Files changed https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47/files
Please reload this pagehttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/lawnighthawk
lawnighthawkhttps://patch-diff.githubusercontent.com/lawnighthawk
Dec 17, 2023https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47#issue-2045062563
Please reload this pagehttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47
December 17, 2023 03:57https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47#commits-pushed-a2e4a6b
Add override flag to MapProxy destructor, helps with warnings on new …https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47/commits/a2e4a6b26724f917354a5f8ba75cbcc7fa6bfab3
a2e4a6bhttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47/commits/a2e4a6b26724f917354a5f8ba75cbcc7fa6bfab3
Add functions that use rvalue referenceshttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47/commits/919bdebb4eb81c9be4d3e58778e0c7693c206a5a
919bdebhttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47/commits/919bdebb4eb81c9be4d3e58778e0c7693c206a5a
https://patch-diff.githubusercontent.com/trobro
trobrohttps://patch-diff.githubusercontent.com/trobro
Dec 17, 2023https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47#issuecomment-1859205823
Please reload this pagehttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47
https://patch-diff.githubusercontent.com/lawnighthawk
lawnighthawkhttps://patch-diff.githubusercontent.com/lawnighthawk
Dec 17, 2023https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47#issuecomment-1859218998
Please reload this pagehttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47
Protect new functions behind a define for C++17https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47/commits/64710c8f73746e92eec643d5236d88828d7692d4
64710c8https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47/commits/64710c8f73746e92eec643d5236d88828d7692d4
https://patch-diff.githubusercontent.com/lawnighthawk
lawnighthawkhttps://patch-diff.githubusercontent.com/lawnighthawk
Dec 17, 2023https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47#issuecomment-1859237167
@trobrohttps://github.com/trobro
Please reload this pagehttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47
Ensure we can call insert on an empty value and it becomes a Maphttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47/commits/2c148e1e4f340229ca8253093a2c2d13fb439055
2c148e1https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47/commits/2c148e1e4f340229ca8253093a2c2d13fb439055
https://patch-diff.githubusercontent.com/trobro
trobrohttps://patch-diff.githubusercontent.com/trobro
Dec 18, 2023https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47#issuecomment-1860681258
Please reload this pagehttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47
https://patch-diff.githubusercontent.com/trobro
trobrohttps://patch-diff.githubusercontent.com/trobro
Dec 18, 2023 https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47#pullrequestreview-1787040124
View reviewed changes https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47/files/2c148e1e4f340229ca8253093a2c2d13fb439055
src/hjson_value.cpphttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47/files/2c148e1e4f340229ca8253093a2c2d13fb439055#diff-bdb1357f35c814088bd64b9e90cd1499c524f15c3e750025886b9d3e6dc0d523
trobrohttps://patch-diff.githubusercontent.com/trobro
Dec 18, 2023https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47#discussion_r1430232637
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47
lawnighthawkhttps://patch-diff.githubusercontent.com/lawnighthawk
Dec 19, 2023https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47#discussion_r1431972895
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47
trobrohttps://patch-diff.githubusercontent.com/trobro
Dec 22, 2023https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47#discussion_r1435075249
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47
src/hjson_value.cpphttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47/files/2c148e1e4f340229ca8253093a2c2d13fb439055#diff-bdb1357f35c814088bd64b9e90cd1499c524f15c3e750025886b9d3e6dc0d523
trobrohttps://patch-diff.githubusercontent.com/trobro
Dec 18, 2023https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47#discussion_r1430233354
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47
lawnighthawkhttps://patch-diff.githubusercontent.com/lawnighthawk
Dec 19, 2023https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47#discussion_r1431972309
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47
https://patch-diff.githubusercontent.com/lawnighthawk
lawnighthawkhttps://patch-diff.githubusercontent.com/lawnighthawk
Dec 19, 2023https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47#issuecomment-1863525140
@trobrohttps://github.com/trobro
Please reload this pagehttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47
https://patch-diff.githubusercontent.com/trobro
trobrohttps://patch-diff.githubusercontent.com/trobro
Dec 22, 2023https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47#issuecomment-1867736141
Please reload this pagehttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhjson%2Fhjson-cpp%2Fpull%2F47
https://patch-diff.githubusercontent.com/trobro
trobro https://patch-diff.githubusercontent.com/trobro
https://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47/files/2c148e1e4f340229ca8253093a2c2d13fb439055
Please reload this pagehttps://patch-diff.githubusercontent.com/hjson/hjson-cpp/pull/47
https://patch-diff.githubusercontent.com/lawnighthawk
https://patch-diff.githubusercontent.com/trobro
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.