You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011
  1. #include <scope.h>
  2. int main()
  3. {
  4. sr::scope_exit se{[]{}};
  5. sr::scope_fail sf{[]{}};
  6. sr::scope_success ss{[]{}};
  7. sr::unique_resource ur{3, [](auto x){}};
  8. return 0;
  9. }