Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by magicalhippo

16 hours ago

Split the difference with std::moveable().

Also signals it doesn't actually move, while remaining just as fast to type.

1 comment

magicalhippo

Reply

fooker  5 hours ago

std::movable is a concept now!

https://en.cppreference.com/w/cpp/concepts/movable.html

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities