Merge remote-tracking branch 'sidkshatriya/remove-ref-ref'
This commit is contained in:
commit
459007ae21
|
@ -95,7 +95,7 @@ public:
|
|||
template<typename U> using DecayOptional = typename DecayOptionalImpl<U>::Type;
|
||||
|
||||
template<typename F>
|
||||
auto map(F f) -> Optional<DecayOptional<decltype(f(std::declval<T&&>()))>>
|
||||
auto map(F f) -> Optional<DecayOptional<decltype(f(std::declval<T>()))>>
|
||||
{
|
||||
if (not m_valid)
|
||||
return {};
|
||||
|
|
Loading…
Reference in New Issue
Block a user