3 ms·
In your example, the source location will be for the template definition, instead of the function call. But yes, although you can't use std::source_location dir
by gpderetta 3y ago
In your example, the source location will be for the template definition, instead of the function call. But yes, although you can't use std::source_location directly, you can roll your own.
See my other comments elsethread.
- dataflow 3y agoAhhh, I understand now. Thanks!