[gridwriter] Fix return type in forwarding function
This makes the function work for std::vector<bool>. T is bool but values[0] returns (non-standard-compliant in some impl.) some proxy reference class even if the container is const. Explicitly converting to T (or generally for ranges std::ranges::range_value_t) works. Thed default return type would be auto which also returns by value.
parent
3b980256
No related branches found
No related tags found
Loading
Please register or sign in to comment