Browse Source

Type T of reference_wrapper fixed (fixes #125).

main
offa 6 years ago
parent
commit
f8f77b132e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      include/detail/wrapper.h

+ 2
- 2
include/detail/wrapper.h View File

} }




using type = std::reference_wrapper<T>;
using type = std::reference_wrapper<std::remove_reference_t<T>>;




private: private:


std::reference_wrapper<T> m_value;
type m_value;
}; };


} }

Loading…
Cancel
Save