Browse Source

Deduction guide for the reference wrapper removed (fixes #98).

main
offa 7 years ago
parent
commit
7ce8e5d210
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      include/unique_resource.h

+ 0
- 3
include/unique_resource.h View File

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


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



template<class R, class D, class S = R> template<class R, class D, class S = R>
unique_resource<std::decay_t<R>, std::decay_t<D>> make_unique_resource_checked(R&& r, const S& invalid, D&& d) unique_resource<std::decay_t<R>, std::decay_t<D>> make_unique_resource_checked(R&& r, const S& invalid, D&& d)

Loading…
Cancel
Save