Guest User

Untitled

a guest
May 23rd, 2017
71
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. struct some {
  5. int feature() const { return 0; }
  6. int not_a_feature() && { return 0;}
  7. };
  8.  
  9. int main_1() {
  10. const some object;
  11. return object.feature();
  12. }
  13.  
  14. int main_2() {
  15. some object;
  16. return object.not_a_feature();
  17. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×