Open
Description
Have you considered adding callable types that overload the operator ()
on combinations of lr-value-ness vs const-ness?
E.g.
struct void_ {};
struct rvalueconstcallable {
constexpr void_ operator ()(...) const&& {
return {};
}
};
This would be useful to check whether generic algorithms forward callable objects correctly up to the point they are invoked.
Metadata
Metadata
Assignees
Labels
No labels