Browse Source

Deduction guides for the scope guards updated (#105).

main
offa 7 years ago
parent
commit
97289ce254
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      include/scope_exit.h
  2. +1
    -1
      include/scope_fail.h
  3. +1
    -1
      include/scope_success.h

+ 1
- 1
include/scope_exit.h View File





template<class EF> template<class EF>
scope_exit(EF&& ef) -> scope_exit<std::decay_t<EF>>;
scope_exit(EF) -> scope_exit<EF>;


} }



+ 1
- 1
include/scope_fail.h View File





template<class EF> template<class EF>
scope_fail(EF&& ef) -> scope_fail<std::decay_t<EF>>;
scope_fail(EF) -> scope_fail<EF>;


} }



+ 1
- 1
include/scope_success.h View File





template<class EF> template<class EF>
scope_success(EF&& ef) -> scope_success<std::decay_t<EF>>;
scope_success(EF) -> scope_success<EF>;


} }



Loading…
Cancel
Save