Skip to content

Commit

Permalink
refactor: deduction guides for CTAD warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed Nov 13, 2024
1 parent e6ee971 commit efccb11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/Dom/LazyObject.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@ namespace detail
}
}
};

// Deduction guide
template <class MapFn, class DeferFn = void*>
LazyObjectIO(MapFn, DeferFn = {}) -> LazyObjectIO<MapFn, DeferFn>;
}

template <class T, class Context>
Expand Down

0 comments on commit efccb11

Please # to comment.