Bläddra i källkod

Formatting.

main
offa 7 år sedan
förälder
incheckning
3cd80d66f0
4 ändrade filer med 7 tillägg och 7 borttagningar
  1. +2
    -2
      include/scope_exit.h
  2. +2
    -2
      include/scope_fail.h
  3. +2
    -2
      include/scope_success.h
  4. +1
    -1
      include/unique_resource.h

+ 2
- 2
include/scope_exit.h Visa fil

@@ -52,8 +52,8 @@ namespace sr
};


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


template<class EF>

+ 2
- 2
include/scope_fail.h Visa fil

@@ -62,8 +62,8 @@ namespace sr
};


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


template<class EF>

+ 2
- 2
include/scope_success.h Visa fil

@@ -55,8 +55,8 @@ namespace sr
};


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


template<class EF>

+ 1
- 1
include/unique_resource.h Visa fil

@@ -203,7 +203,7 @@ namespace sr
template<class R, class D>
unique_resource(R&& r, D&& d) -> unique_resource<std::decay_t<R>, std::decay_t<D>>;

template<typename R, typename D>
template<class R, class D>
unique_resource(std::reference_wrapper<R> r, D&& d) -> unique_resource<R&, std::decay_t<D>>;



Laddar…
Avbryt
Spara