A prvalue is not a temporary

(blog.knatten.org)

29 points | by ingve 7 hours ago ago

5 comments

  • halayli 2 hours ago

    lvalue/rvalue are not defined by their movability. value categories are about identity vs non-identity. a pr value is a pure result that has no identity. you cannot reference it by name, and everything else is a consequence of that.

  • gnabgib 7 hours ago

    Discussion (40 points, 6 days ago, 38 comments) https://news.ycombinator.com/item?id=45770577

    • tomhow 7 hours ago

      Not exactly. This was originally submitted 6 days ago, and was put in the SCP but took till now to get on the front page. Just as the discussion was developing, the original submission "expired" and disappeared from the front page.

      Given that it's an active discussion with all comments posted in the past few hours, I've created a new copy to give it its full opportunity for visibility and discussion.

      • gnabgib 7 hours ago

        Ah, well that's a strange maneuver (it wasn't a vote-less or discussion-less post before the SCP and you moving the comments)

        • tomhow 7 hours ago

          Only two of the upvotes and one of the comments was from before today, and it had no front page time until today. It's a lot stranger for a post to disappear completely from the rankings, just as the discussion is developing.