René's URL Explorer Experiment


Title: compilation error with ready(response) · Issue #683 · cpp-netlib/cpp-netlib · GitHub

Open Graph Title: compilation error with ready(response) · Issue #683 · cpp-netlib/cpp-netlib

X Title: compilation error with ready(response) · Issue #683 · cpp-netlib/cpp-netlib

Description: #include int main() { using namespace boost::network; using namespace boost::network::http; client c; client::request req{"http://github.com"}; auto resp = c.get(req); auto check = ready(resp); } t...

Open Graph Description: #include int main() { using namespace boost::network; using namespace boost::network::http; client c; client::request req{"http://github.com"}; auto resp = c...

X Description: #include <boost/network/include/http/client.hpp> int main() { using namespace boost::network; using namespace boost::network::http; client c; client::request req{"http://github.com"...

Opengraph URL: https://github.com/cpp-netlib/cpp-netlib/issues/683

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"compilation error with ready(response)","articleBody":"``` c++\n#include \u003cboost/network/include/http/client.hpp\u003e\n\nint main() {\n    using namespace boost::network;\n    using namespace boost::network::http;\n\n    client c;\n    client::request req{\"http://github.com\"};\n    auto resp = c.get(req);\n    auto check = ready(resp);\n}\n```\n\nthis code fails to compile with `g++ (Ubuntu 6.2.0-3ubuntu14) 6.2.0 20160910`\n\nThe compiler output is (path shortened):\n\n```\n.../include/boost/network/protocol/http/message/wrappers/ready.hpp: In instantiation of ‘boost::network::http::impl::ready_wrapper\u003cTag\u003e::operator bool() [with Tag = boost::network::http::tags::http_async_8bit_udp_resolve]’:\n.../include/boost/network/protocol/http/message/wrappers/ready.hpp:38:42:   required from ‘bool boost::network::http::ready(const boost::network::http::async_message\u003cTag\u003e\u0026) [with Tag = boost::network::http::tags::http_async_8bit_udp_resolve]’\n/home/dvd/Projects/personal/rg/ck/main.cpp:10:25:   required from here\n.../include/boost/network/protocol/http/message/wrappers/ready.hpp:27:44: error: ‘class std::shared_future\u003cstd::__cxx11::basic_string\u003cchar\u003e \u003e’ has no member named ‘is_ready’\n     return wrapper_base::_message.version_.is_ready() \u0026\u0026\n            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~\n.../include/boost/network/protocol/http/message/wrappers/ready.hpp:28:43: error: ‘class std::shared_future\u003cshort unsigned int\u003e’ has no member named ‘is_ready’\n            wrapper_base::_message.status_.is_ready() \u0026\u0026\n            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~\n.../include/boost/network/protocol/http/message/wrappers/ready.hpp:29:51: error: ‘class std::shared_future\u003cstd::__cxx11::basic_string\u003cchar\u003e \u003e’ has no member named ‘is_ready’\n            wrapper_base::_message.status_message_.is_ready() \u0026\u0026\n            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~\n.../include/boost/network/protocol/http/message/wrappers/ready.hpp:30:44: error: ‘class std::shared_future\u003cstd::multimap\u003cstd::__cxx11::basic_string\u003cchar\u003e, std::__cxx11::basic_string\u003cchar\u003e, boost::network::impl::is_less_ignore_case_impl\u003e \u003e’ has no member named ‘is_ready’\n            wrapper_base::_message.headers_.is_ready() \u0026\u0026\n            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~\n.../include/boost/network/protocol/http/message/wrappers/ready.hpp:31:41: error: ‘class std::shared_future\u003cstd::__cxx11::basic_string\u003cchar\u003e \u003e’ has no member named ‘is_ready’\n            wrapper_base::_message.body_.is_ready();\n            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~\n```\n\naccording to [cppreference](http://en.cppreference.com/w/cpp/experimental/shared_future) `is_ready` is part of the new `concurrency TS`\n\nany workaround?\n","author":{"url":"https://github.com/dvd0101","@type":"Person","name":"dvd0101"},"datePublished":"2016-09-14T20:57:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/683/cpp-netlib/issues/683"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7f4102b7-51a1-2721-97a3-90dd7ddb11c6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idECE8:2535EF:18B687:234C09:696F97E2
html-safe-nonce5177936f86b0639d528c00ce000277d38929993e00c8bac63e6d8e0058a0f8ac
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0U4OjI1MzVFRjoxOEI2ODc6MjM0QzA5OjY5NkY5N0UyIiwidmlzaXRvcl9pZCI6IjExNjY4NzY1MDM2NjA1MzM3MzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac148ebcd8032da5399460f8207d1ff71cba282d7b7688471a4b8ffe06839bb35f
hovercard-subject-tagissue:177018917
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/cpp-netlib/cpp-netlib/683/issue_layout
twitter:imagehttps://opengraph.githubassets.com/80cd6653ea7d9c01789ea1898a662554e0540514fffdfe2ea3186eb9edb4f215/cpp-netlib/cpp-netlib/issues/683
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/80cd6653ea7d9c01789ea1898a662554e0540514fffdfe2ea3186eb9edb4f215/cpp-netlib/cpp-netlib/issues/683
og:image:alt#include int main() { using namespace boost::network; using namespace boost::network::http; client c; client::request req{"http://github.com"}; auto resp = c...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedvd0101
hostnamegithub.com
expected-hostnamegithub.com
None0ca8d8c65612640b9a1a588b3eed68222ca723ed2d028b18fe81b28936d535eb
turbo-cache-controlno-preview
go-importgithub.com/cpp-netlib/cpp-netlib git https://github.com/cpp-netlib/cpp-netlib.git
octolytics-dimension-user_id192422
octolytics-dimension-user_logincpp-netlib
octolytics-dimension-repository_id494068
octolytics-dimension-repository_nwocpp-netlib/cpp-netlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id469399
octolytics-dimension-repository_parent_nwoglynos/cpp-netlib
octolytics-dimension-repository_network_root_id469399
octolytics-dimension-repository_network_root_nwoglynos/cpp-netlib
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
release95f60616ce2765d1114fe6da4af405a58c6d26d2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cpp-netlib/cpp-netlib/issues/683#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcpp-netlib%2Fcpp-netlib%2Fissues%2F683
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcpp-netlib%2Fcpp-netlib%2Fissues%2F683
Sign up https://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=cpp-netlib%2Fcpp-netlib
Reloadhttps://github.com/cpp-netlib/cpp-netlib/issues/683
Reloadhttps://github.com/cpp-netlib/cpp-netlib/issues/683
Reloadhttps://github.com/cpp-netlib/cpp-netlib/issues/683
cpp-netlib https://github.com/cpp-netlib
cpp-netlibhttps://github.com/cpp-netlib/cpp-netlib
glynos/cpp-netlibhttps://github.com/glynos/cpp-netlib
Notifications https://github.com/login?return_to=%2Fcpp-netlib%2Fcpp-netlib
Fork 425 https://github.com/login?return_to=%2Fcpp-netlib%2Fcpp-netlib
Star 2k https://github.com/login?return_to=%2Fcpp-netlib%2Fcpp-netlib
Code https://github.com/cpp-netlib/cpp-netlib
Issues 163 https://github.com/cpp-netlib/cpp-netlib/issues
Pull requests 8 https://github.com/cpp-netlib/cpp-netlib/pulls
Actions https://github.com/cpp-netlib/cpp-netlib/actions
Projects 0 https://github.com/cpp-netlib/cpp-netlib/projects
Wiki https://github.com/cpp-netlib/cpp-netlib/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/cpp-netlib/cpp-netlib/security
Please reload this pagehttps://github.com/cpp-netlib/cpp-netlib/issues/683
Insights https://github.com/cpp-netlib/cpp-netlib/pulse
Code https://github.com/cpp-netlib/cpp-netlib
Issues https://github.com/cpp-netlib/cpp-netlib/issues
Pull requests https://github.com/cpp-netlib/cpp-netlib/pulls
Actions https://github.com/cpp-netlib/cpp-netlib/actions
Projects https://github.com/cpp-netlib/cpp-netlib/projects
Wiki https://github.com/cpp-netlib/cpp-netlib/wiki
Security https://github.com/cpp-netlib/cpp-netlib/security
Insights https://github.com/cpp-netlib/cpp-netlib/pulse
New issuehttps://github.com/login?return_to=https://github.com/cpp-netlib/cpp-netlib/issues/683
New issuehttps://github.com/login?return_to=https://github.com/cpp-netlib/cpp-netlib/issues/683
compilation error with ready(response)https://github.com/cpp-netlib/cpp-netlib/issues/683#top
https://github.com/glynos
0.13https://github.com/cpp-netlib/cpp-netlib/milestone/12
https://github.com/dvd0101
https://github.com/dvd0101
dvd0101https://github.com/dvd0101
on Sep 14, 2016https://github.com/cpp-netlib/cpp-netlib/issues/683#issue-177018917
cppreferencehttp://en.cppreference.com/w/cpp/experimental/shared_future
glynoshttps://github.com/glynos
0.13https://github.com/cpp-netlib/cpp-netlib/milestone/12
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.