René's URL Explorer Experiment


Title: The necessity of exporting base virtual function in 06-VirtualFunctionsInPython · Issue #41 · TNG/boost-python-examples · GitHub

Open Graph Title: The necessity of exporting base virtual function in 06-VirtualFunctionsInPython · Issue #41 · TNG/boost-python-examples

X Title: The necessity of exporting base virtual function in 06-VirtualFunctionsInPython · Issue #41 · TNG/boost-python-examples

Description: In boost-python-examples/06-VirtualFunctionsInPython/virtual.cpp Line 36 in 72ea66d .def("name", &Base::name, &BaseWrap::default_name) I knew the boost python doc said Take note that we expose both &Base::f and &BaseWrap::default_f. Boos...

Open Graph Description: In boost-python-examples/06-VirtualFunctionsInPython/virtual.cpp Line 36 in 72ea66d .def("name", &Base::name, &BaseWrap::default_name) I knew the boost python doc said Take note that we expose both...

X Description: In boost-python-examples/06-VirtualFunctionsInPython/virtual.cpp Line 36 in 72ea66d .def("name", &Base::name, &BaseWrap::default_name) I knew the boost python doc said Take note t...

Opengraph URL: https://github.com/TNG/boost-python-examples/issues/41

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The necessity of exporting base virtual function in 06-VirtualFunctionsInPython","articleBody":"In https://github.com/TNG/boost-python-examples/blob/72ea66d3e6200f8bcbaac707069ba708d88d8ee8/06-VirtualFunctionsInPython/virtual.cpp#L36\r\n\r\nI knew the [boost python doc](https://www.boost.org/doc/libs/1_68_0/libs/python/doc/html/tutorial/tutorial/exposing.html) said\r\n> Take note that we expose both &Base::f and &BaseWrap::default_f. Boost.Python needs to keep track of 1) the dispatch function f and 2) the forwarding function to its default implementation default_f. There's a special def function for this purpose.\r\n\r\nBut is it truely necessary to export `&Base::name`? And I can't see the differences blow in running results:\r\n```\r\n.def(\"name\", &Base::name, &BaseWrap::default_name)\r\n.def(\"name\", &BaseWrap::default_name)\r\n```","author":{"url":"https://github.com/ivytin","@type":"Person","name":"ivytin"},"datePublished":"2021-05-12T11:37:57Z","url":"https://github.com/TNG/boost-python-examples/issues/41"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ed460c9c-f9e7-6a12-bd88-1e2f7e3bb80d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAAC8:39D41C:6299FF:885BDF:6B0098EA
html-safe-noncec125287df6bdb89954fa625dc0b96756ffb1d0f9a7297971039243242ec442aa
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUM4OjM5RDQxQzo2Mjk5RkY6ODg1QkRGOjZCMDA5OEVBIiwidmlzaXRvcl9pZCI6IjE4NTUwMjMwMDU3MzQ4MzY0NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac18f9dbe2ce29bfded0a280ae6765c4c465f8b041c155b7e60531b819dc3c1c65
hovercard-subject-tagissue:889994230
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/TNG/boost-python-examples/41/issue_layout
twitter:imagehttps://opengraph.githubassets.com/68394a2f24cbb9abcd2ec3f6c567448b6ef898a5b897741ea4b39ca2b9b3ce3a/TNG/boost-python-examples/issues/41
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/68394a2f24cbb9abcd2ec3f6c567448b6ef898a5b897741ea4b39ca2b9b3ce3a/TNG/boost-python-examples/issues/41
og:image:altIn boost-python-examples/06-VirtualFunctionsInPython/virtual.cpp Line 36 in 72ea66d .def("name", &Base::name, &BaseWrap::default_name) I knew the boost python doc said Take note that we expose both...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameivytin
hostnamegithub.com
expected-hostnamegithub.com
None552480023d6963d7f188d82f8cd5f3fe5046244607d769b794462821d9ea1b29
turbo-cache-controlno-preview
go-importgithub.com/TNG/boost-python-examples git https://github.com/TNG/boost-python-examples.git
octolytics-dimension-user_id432256
octolytics-dimension-user_loginTNG
octolytics-dimension-repository_id1525949
octolytics-dimension-repository_nwoTNG/boost-python-examples
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1525949
octolytics-dimension-repository_network_root_nwoTNG/boost-python-examples
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
releasecaf54e38b10face642f6cc1c79e4562e7ee52e3c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/TNG/boost-python-examples/issues/41#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTNG%2Fboost-python-examples%2Fissues%2F41
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTNG%2Fboost-python-examples%2Fissues%2F41
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=TNG%2Fboost-python-examples
Reloadhttps://github.com/TNG/boost-python-examples/issues/41
Reloadhttps://github.com/TNG/boost-python-examples/issues/41
Reloadhttps://github.com/TNG/boost-python-examples/issues/41
TNGhttps://github.com/TNG
boost-python-exampleshttps://github.com/TNG/boost-python-examples
Codehttps://github.com/TNG/boost-python-examples
Issues7 (7)https://github.com/TNG/boost-python-examples/issues
Pull requests2 (2)https://github.com/TNG/boost-python-examples/pulls
Actionshttps://github.com/TNG/boost-python-examples/actions
Projectshttps://github.com/TNG/boost-python-examples/projects
Wikihttps://github.com/TNG/boost-python-examples/wiki
Security and qualityhttps://github.com/TNG/boost-python-examples/security
Insightshttps://github.com/TNG/boost-python-examples/insights
https://github.com/TNG/boost-python-examples
New issuehttps://github.com/login?return_to=https://github.com/TNG/boost-python-examples/issues/41
New issuehttps://github.com/login?return_to=https://github.com/TNG/boost-python-examples/issues/41
The necessity of exporting base virtual function in 06-VirtualFunctionsInPythonhttps://github.com/TNG/boost-python-examples/issues/41#top
https://github.com/ivytin
ivytinhttps://github.com/ivytin
on May 12, 2021https://github.com/TNG/boost-python-examples/issues/41#issue-889994230
boost-python-examples/06-VirtualFunctionsInPython/virtual.cpphttps://github.com/TNG/boost-python-examples/blob/72ea66d3e6200f8bcbaac707069ba708d88d8ee8/06-VirtualFunctionsInPython/virtual.cpp#L36
72ea66dhttps://github.com/TNG/boost-python-examples/commit/72ea66d3e6200f8bcbaac707069ba708d88d8ee8
boost python dochttps://www.boost.org/doc/libs/1_68_0/libs/python/doc/html/tutorial/tutorial/exposing.html
Sign up for freehttps://github.com/signup?return_to=https://github.com/TNG/boost-python-examples/issues/41
Sign in to commenthttps://github.com/login?return_to=https://github.com/TNG/boost-python-examples/issues/41
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.