Browse Source

Type field added to the Wrapper class.

main
offa 7 years ago
parent
commit
400b71f3c3
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      include/detail/wrapper.h

+ 6
- 0
include/detail/wrapper.h View File

} }




using type = T;


private: private:


Wrapper(const T& value) noexcept(noexcept(T{value})) : m_value(value) Wrapper(const T& value) noexcept(noexcept(T{value})) : m_value(value)
} }




using type = std::reference_wrapper<T>;


private: private:


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

Loading…
Cancel
Save