File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
ReflectionTemplateLib/rtl Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,23 @@ namespace rtl
3434 }
3535
3636
37+ #if defined(__GNUC__) || defined(__clang__)
3738 template <class ...signature_t >
3839 template <class ...args_t >
3940 requires (std::is_same_v<traits::normal_sign_id_t <args_t ...>, std::tuple<signature_t ...>>)
4041 inline constexpr const typename function<Return(signature_t ...)>::template perfect_fwd<args_t...>
4142 function<Return(signature_t ...)>::bind() const noexcept {
4243 return perfect_fwd<args_t ...>{ *this };
4344 }
45+ #else
46+ template <class ...signature_t >
47+ template <class ...args_t >
48+ requires (std::is_same_v<traits::normal_sign_id_t <args_t ...>, std::tuple<signature_t ...>>)
49+ inline constexpr const function<Return(signature_t ...)>::perfect_fwd<args_t...>
50+ function<Return(signature_t ...)>::bind() const noexcept {
51+ return perfect_fwd<args_t ...>{ *this };
52+ }
53+ #endif
4454
4555
4656 template <class ...signature_t >
You can’t perform that action at this time.
0 commit comments