René's URL Explorer Experiment


Title: c++ - Empirically determine value category of C++11 expression? - Stack Overflow

X Title: Empirically determine value category of C++11 expression?

X Description: Each expression in C++11 has a value category. One of lvalue, xvalue or prvalue. Is there a way to write a macro that, given any expression as an argument, will produce a string "lvalue", "xvalue...

Opengraph URL: https://stackoverflow.com/questions/16637945/empirically-determine-value-category-of-c11-expression

direct link

Domain: stackoverflow.com


Hey, it has json ld scripts:
    {
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "WebSite",
      "@id": "https://stackoverflow.com/#website",
      "name": "Stack Overflow",
      "url": "https://stackoverflow.com",
      "image": "https://stackoverflow.com/Content/Sites/stackoverflow/Img/apple-touch-icon@2.png?v=0f0cab681579",
      "publisher": {
        "@id": "https://stackoverflow.com/#organization"
      }
    },
    {
      "@type": "Organization",
      "@id": "https://stackoverflow.com/#organization",
      "name": "Stack Overflow",
      "url": "https://stackoverflow.com",
      "logo": "https://stackoverflow.com/Content/Sites/stackoverflow/Img/logo.png?v=0a124c963f5f",
      "sameAs": [
        "https://stackoverflow.co/",
        "https://www.facebook.com/officialstackoverflow/",
        "https://x.com/stackoverflow",
        "https://www.linkedin.com/company/stack-overflow",
        "https://www.youtube.com/c/StackOverflowOfficial",
        "https://twitter.com/stackoverflow"
      ],
      "contactPoint": [
        {
          "@type": "ContactPoint",
          "contactType": "Customer support",
          "url": "https://stackoverflow.com/contact"
        },
        {
          "@type": "ContactPoint",
          "contactType": "Stack Ads",
          "url": "https://stackoverflow.co/advertising/"
        },
        {
          "@type": "ContactPoint",
          "contactType": "Stack Internal",
          "url": "https://stackoverflow.co/teams/"
        },
        {
          "@type": "ContactPoint",
          "contactType": "Stack Data Licensing",
          "url": "https://stackoverflow.co/api-solutions/"
        }
      ],
      "description": "Q\u0026A for professional and enthusiast programmers"
    }
  ]
}

og:typewebsite
og:site_nameStack Overflow
og:imagehttps://stackoverflow.com/Content/Sites/stackoverflow/Img/apple-touch-icon@2.png?v=0f0cab681579
twitter:cardsummary
twitter:domainstackoverflow.com
Nonekgraney

Links:

Skip to main contenthttps://stackoverflow.com/a/16638081#content
https://stackoverflow.com/a/16638081
https://stackoverflow.com
About https://stackoverflow.co/
Stack Internal https://stackoverflow.co/internal/
Stack Internal Implement a knowledge platform layer to power your enterprise and AI tools. https://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-for-teams
Stack Data Licensing Get access to top-class technical expertise with trusted & attributed content. https://stackoverflow.co/data-licensing/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-api
Stack Ads Connect your brand to the world’s most trusted technologist communities. https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-advertising
Releases Keep up-to-date on features we add to Stack Overflow and Stack Internal. https://stackoverflow.blog/releases/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=releases
About the companyhttps://stackoverflow.co/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=about-the-company
Visit the bloghttps://stackoverflow.blog/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=blog
https://stackoverflow.com/help
Tour Start here for a quick overview of the site https://stackoverflow.com/tour
Help Center Detailed answers to any questions you might have https://stackoverflow.com/help
Meta Discuss the workings and policies of this site https://meta.stackoverflow.com
About Us Learn more about Stack Overflow the company, and our products https://stackoverflow.co/
https://stackexchange.com
current communityhttps://stackoverflow.com
Stack Overflow https://stackoverflow.com
helphttps://stackoverflow.com/help
chathttps://chat.stackoverflow.com/?tab=explore
Meta Stack Overflow https://meta.stackoverflow.com
Sign uphttps://stackoverflow.com/users/signup?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f16637945%2fempirically-determine-value-category-of-c11-expression%2f16638081
log inhttps://stackoverflow.com/users/login?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f16637945%2fempirically-determine-value-category-of-c11-expression%2f16638081
more stack exchange communitieshttps://stackexchange.com/sites
company bloghttps://stackoverflow.blog
Log inhttps://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f16637945%2fempirically-determine-value-category-of-c11-expression%2f16638081
Sign uphttps://stackoverflow.com/users/signup?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f16637945%2fempirically-determine-value-category-of-c11-expression%2f16638081
take the Survey today!https://take.survey.stackoverflow.co/jfe/form/SV_4GHunpL3IfJ3rRc?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=dev-survey-2026&utm_content=announcement-banner
https://stackoverflow.com/a/16638081
Home https://stackoverflow.com/
Questions https://stackoverflow.com/questions
AI Assist https://stackoverflow.com/ai-assist
Tags https://stackoverflow.com/tags
Stack Overflow for Agents http://agents.stackoverflow.com
Challenges https://stackoverflow.com/beta/challenges
Chat https://chat.stackoverflow.com/?tab=explore
Articles https://stackoverflow.blog/contributed?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=so-blog&utm_content=experiment-articles
Users https://stackoverflow.com/users
Companies https://stackoverflow.com/jobs/companies?so_medium=stackoverflow&so_source=SiteNav
Collectives javascript:void(0)
Explore all Collectiveshttps://stackoverflow.com/collectives-all
Try for freehttps://stackoverflowteams.com/teams/create/free/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams
Learn morehttps://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams
Stack Internal javascript:void(0)
Learn morehttps://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams-compact
Learn more about Collectives https://stackoverflow.com/collectives
Explore Stack Internal https://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams-compact-popover
Empirically determine value category of C++11 expression?https://stackoverflow.com/questions/16637945/empirically-determine-value-category-of-c11-expression
Ask Question https://stackoverflow.com/questions/ask
2 years, 4 months agohttps://stackoverflow.com/a/16638081?lastactivity
https://stackoverflow.com/posts/16637945/timeline
c++https://stackoverflow.com/questions/tagged/c%2b%2b
c++11https://stackoverflow.com/questions/tagged/c%2b%2b11
Sharehttps://stackoverflow.com/q/16637945
Improve this questionhttps://stackoverflow.com/posts/16637945/edit
edited May 19, 2013 at 18:26https://stackoverflow.com/posts/16637945/revisions
https://stackoverflow.com/users/1131467/andrew-tomazos
Andrew Tomazoshttps://stackoverflow.com/users/1131467/andrew-tomazos
Ben Voigthttps://stackoverflow.com/users/103167/ben-voigt
ideone.com/ARlW3vhttp://ideone.com/ARlW3v
Ben Voigthttps://stackoverflow.com/users/103167/ben-voigt
Luc Dantonhttps://stackoverflow.com/users/726300/luc-danton
Add a comment https://stackoverflow.com/a/16638081
https://stackoverflow.com/a/16638081
Reset to default https://stackoverflow.com/questions/16637945/empirically-determine-value-category-of-c11-expression?answertab=scoredesc#tab-top
https://stackoverflow.com/posts/16638081/timeline
decltypehttps://en.cppreference.com/w/cpp/language/decltype
Sharehttps://stackoverflow.com/a/16638081
Improve this answerhttps://stackoverflow.com/posts/16638081/edit
edited Feb 19, 2024 at 10:01https://stackoverflow.com/posts/16638081/revisions
https://stackoverflow.com/users/12580494/breathfidgeting
breathfidgetinghttps://stackoverflow.com/users/12580494/breathfidgeting
https://stackoverflow.com/users/726300/luc-danton
Luc Dantonhttps://stackoverflow.com/users/726300/luc-danton
https://stackoverflow.com/users/1131467/andrew-tomazos
Andrew Tomazoshttps://stackoverflow.com/users/1131467/andrew-tomazos
Over a year agohttps://stackoverflow.com/a/16638081#comment23927642_16638081
https://stackoverflow.com/users/734069/nicol-bolas
Nicol Bolashttps://stackoverflow.com/users/734069/nicol-bolas
Over a year agohttps://stackoverflow.com/a/16638081#comment23927980_16638081
https://stackoverflow.com/users/1131467/andrew-tomazos
Andrew Tomazoshttps://stackoverflow.com/users/1131467/andrew-tomazos
Over a year agohttps://stackoverflow.com/a/16638081#comment23928392_16638081
https://stackoverflow.com/users/1131467/andrew-tomazos
Andrew Tomazoshttps://stackoverflow.com/users/1131467/andrew-tomazos
Over a year agohttps://stackoverflow.com/a/16638081#comment23930507_16638081
https://stackoverflow.com/users/5267751/user202729
user202729https://stackoverflow.com/users/5267751/user202729
Over a year agohttps://stackoverflow.com/a/16638081#comment106311360_16638081
"named rvalue references are lvalues"https://stackoverflow.com/q/3601602
https://stackoverflow.com/posts/71092783/timeline
Sharehttps://stackoverflow.com/a/71092783
Improve this answerhttps://stackoverflow.com/posts/71092783/edit
https://stackoverflow.com/users/16972547/mada
madahttps://stackoverflow.com/users/16972547/mada
https://stackoverflow.com/posts/16639024/timeline
Classificationhttp://clang.llvm.org/doxygen/classclang_1_1Expr.html#a69226c1509feed27879120d7da683eff
Sharehttps://stackoverflow.com/a/16639024
Improve this answerhttps://stackoverflow.com/posts/16639024/edit
https://stackoverflow.com/users/2350293/kgraney
kgraneyhttps://stackoverflow.com/users/2350293/kgraney
artificial intelligence policyhttps://stackoverflow.com/help/gen-ai-policy
https://stackoverflow.com/a/16638081
tips on writing great answershttps://stackoverflow.com/help/how-to-answer
log inhttps://stackoverflow.com/users/login?ssrc=question_page&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f16637945%2fempirically-determine-value-category-of-c11-expression%23new-answer
terms of servicehttps://stackoverflow.com/legal/terms-of-service/public
privacy policyhttps://stackoverflow.com/legal/privacy-policy
Ask questionhttps://stackoverflow.com/questions/ask
c++https://stackoverflow.com/questions/tagged/c%2b%2b
c++11https://stackoverflow.com/questions/tagged/c%2b%2b11
Explore Stack Overflow for Agents https://agents.stackoverflow.com
The good, the bad, and the AI...https://stackoverflow.blog/2026/07/03/the-good-the-bad-and-the-ai-apps/
Partnering with Communities to Modernize Policies & Normshttps://meta.stackexchange.com/questions/418826/partnering-with-communities-to-modernize-policies-norms
Policy: Generative AI (e.g., ChatGPT) is bannedhttps://meta.stackoverflow.com/questions/421831/policy-generative-ai-e-g-chatgpt-is-banned
The 2026 Developer Survey is Livehttps://meta.stackoverflow.com/questions/439978/the-2026-developer-survey-is-live
Hot Network Questions https://stackexchange.com/questions?tab=hot
How to switch array double bracket in ver 15 from compressed style to old-style such as array[[val]] https://mathematica.stackexchange.com/questions/319680/how-to-switch-array-double-bracket-in-ver-15-from-compressed-style-to-old-style
Daily shared key generation and authentication in a non-networked environment https://crypto.stackexchange.com/questions/119753/daily-shared-key-generation-and-authentication-in-a-non-networked-environment
Suggestions for reaching the best slam https://boardgames.stackexchange.com/questions/64557/suggestions-for-reaching-the-best-slam
"The user name could not be found" error when connecting with Samba https://askubuntu.com/questions/1568180/the-user-name-could-not-be-found-error-when-connecting-with-samba
DualTextProgressBar.java - an improved terminal progress bar https://codereview.stackexchange.com/questions/302542/dualtextprogressbar-java-an-improved-terminal-progress-bar
Does the equivalence between these definitions of limit require Axiom of Choice? https://math.stackexchange.com/questions/5142857/does-the-equivalence-between-these-definitions-of-limit-require-axiom-of-choice
Proper expressions for "adding money to your card" https://ell.stackexchange.com/questions/375298/proper-expressions-for-adding-money-to-your-card
Is reality inherently logical? https://philosophy.stackexchange.com/questions/139572/is-reality-inherently-logical
Short story: interstellar federation will destroy Earth unless it becomes more like one humble village (American, ~1950s–60s) https://scifi.stackexchange.com/questions/305123/short-story-interstellar-federation-will-destroy-earth-unless-it-becomes-more-l
How difficult would it be to detect and identify Dyson Swarms? https://worldbuilding.stackexchange.com/questions/273933/how-difficult-would-it-be-to-detect-and-identify-dyson-swarms
If a neutrino oscillates between emission and absorption, where does the energy of the mass difference come from? https://physics.stackexchange.com/questions/873945/if-a-neutrino-oscillates-between-emission-and-absorption-where-does-the-energy
How to improve precision when measuring 3-wire RTD? https://electronics.stackexchange.com/questions/770466/how-to-improve-precision-when-measuring-3-wire-rtd
Console text UI progress bar in Java https://codereview.stackexchange.com/questions/302536/console-text-ui-progress-bar-in-java
"Activity Monitor" doesn't show software updates https://apple.stackexchange.com/questions/486689/activity-monitor-doesnt-show-software-updates
Connect to Web Server on PC from Phone on Same Network https://superuser.com/questions/1938875/connect-to-web-server-on-pc-from-phone-on-same-network
Can Aeons just read people's mind with no saving throw through Envisaging? https://rpg.stackexchange.com/questions/219579/can-aeons-just-read-peoples-mind-with-no-saving-throw-through-envisaging
Ghostscript cannot find input files when merging PDFs https://unix.stackexchange.com/questions/806595/ghostscript-cannot-find-input-files-when-merging-pdfs
Brönnimann's Question 3: a group with solvable word problem and irrational geodesic growth https://mathoverflow.net/questions/512920/br%c3%b6nnimanns-question-3-a-group-with-solvable-word-problem-and-irrational-geode
Is “It is believed the hamburger was invented in Texas” grammatically correct? https://english.stackexchange.com/questions/640074/is-it-is-believed-the-hamburger-was-invented-in-texas-grammatically-correct
Enum wrapper that supports conversion to and from strings https://codereview.stackexchange.com/questions/302533/enum-wrapper-that-supports-conversion-to-and-from-strings
Extension Cord Getting Hot When Running My Air Conditioner https://diy.stackexchange.com/questions/331205/extension-cord-getting-hot-when-running-my-air-conditioner
Confusion regarding usage of p-value correction tests https://stats.stackexchange.com/questions/676446/confusion-regarding-usage-of-p-value-correction-tests
Identify 4-pin DIP component marked: L1806 817 A or L1807 817 D https://electronics.stackexchange.com/questions/770467/identify-4-pin-dip-component-marked-l1806-817-a-or-l1807-817-d
Families of compact sets of some topological space https://mathoverflow.net/questions/512928/families-of-compact-sets-of-some-topological-space
more hot questions https://stackoverflow.com/a/16638081
Question feed https://stackoverflow.com/feeds/question/16637945
https://stackoverflow.com/a/16638081
https://stackoverflow.com
Stack Overflowhttps://stackoverflow.com
Questionshttps://stackoverflow.com/questions
Helphttps://stackoverflow.com/help
Chathttps://chat.stackoverflow.com/?tab=explore
Businesshttps://stackoverflow.co/
Stack Internalhttps://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=teams
Stack Data Licensinghttps://stackoverflow.co/data-licensing/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=data-licensing
Stack Adshttps://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=advertising
Companyhttps://stackoverflow.co/
Abouthttps://stackoverflow.co/
Presshttps://stackoverflow.co/company/press/
Work Herehttps://stackoverflow.co/company/work-here/
Legalhttps://stackoverflow.com/legal
Privacy Policyhttps://stackoverflow.com/legal/privacy-policy
Terms of Servicehttps://stackoverflow.com/legal/terms-of-service/public
Contact Ushttps://stackoverflow.com/contact
Cookie Policyhttps://policies.stackoverflow.co/stack-overflow/cookie-policy
Stack Exchange Networkhttps://stackexchange.com
Technology https://stackexchange.com/sites#technology
Culture & recreation https://stackexchange.com/sites#culturerecreation
Life & arts https://stackexchange.com/sites#lifearts
Science https://stackexchange.com/sites#science
Professional https://stackexchange.com/sites#professional
Business https://stackexchange.com/sites#business
API https://api.stackexchange.com/
Data https://data.stackexchange.com/
Bloghttps://stackoverflow.blog?blb=1
Facebookhttps://www.facebook.com/officialstackoverflow/
Twitterhttps://twitter.com/stackoverflow
LinkedInhttps://linkedin.com/company/stack-overflow
Instagramhttps://www.instagram.com/thestackoverflow
CC BY-SAhttps://stackoverflow.com/help/licensing

Viewport: width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0


URLs of crawlers that visited me.