Quantcast
Channel: User HolyBlackCat - Stack Overflow
Viewing all articles
Browse latest Browse all 1287

Comment by HolyBlackCat on Deduce constructor argument types for a class template in C++?

$
0
0
What could possibly work is what boost.pfr does to detect types of struct members (make a class with a templated operator T, try passing it to the constructor, use stateful metaprogramming to extract the type it got converted to). But this can get quite complicated.

Viewing all articles
Browse latest Browse all 1287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>