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

Comment by HolyBlackCat on Why extent of std::span created from a static array considered to have a dynamic_extent?

$
0
0
There's no partial class template argument deduction. Since you specified some template parameters (<...>), the extent template parameter is going to use its default value (that being std::dynamic_extent) instead of being deduced. If you want it to be deduced, you have to drop <...>.

Viewing all articles
Browse latest Browse all 1287

Trending Articles



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