Date: Fri, 14 Jun 2024 13:26:18 +0200
On 6/14/24 12:04, Frederick Virchanza Gotham via Std-Proposals wrote:
> Note my use of a 'tuple' in the above code. I could make the class
> much more simple by using 'std::function' as follows:
std::function is about type-erasure, which std::elide does not need.
The proper tool for the job is std::bind_front.
> Note my use of a 'tuple' in the above code. I could make the class
> much more simple by using 'std::function' as follows:
std::function is about type-erasure, which std::elide does not need.
The proper tool for the job is std::bind_front.
Received on 2024-06-14 11:26:23