Skip to content

Commit 18e895f

Browse files
committed
Added deduction guide for aggregate
1 parent 94461d2 commit 18e895f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/kangaru/detail/source_from_tag.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ namespace kangaru {
3030
Source source;
3131
};
3232

33+
template<source Source>
34+
with_source_from_tag(Source) -> with_source_from_tag<Source>;
35+
3336
template<forwarded_source Source>
3437
inline constexpr auto make_source_with_source_from_tag(Source&& source) {
3538
return with_source_from_tag<std::decay_t<Source>>{KANGARU5_FWD(source)};

0 commit comments

Comments
 (0)