Re: [PATCH] Add __raw_visit and __raw_idx_visit, use INVOKE

2019-05-15 Thread Jonathan Wakely
On 14/05/19 17:46 +0100, Jonathan Wakely wrote: This change simplifies visitation for variants, by using INVOKE for the visit form, and explicitly specifying the tag types for raw visitation, instead of inferring them from the return types of the lambda functions used as visitors. An additional

[PATCH] Add __raw_visit and __raw_idx_visit, use INVOKE

2019-05-14 Thread Jonathan Wakely
This change simplifies visitation for variants, by using INVOKE for the visit form, and explicitly specifying the tag types for raw visitation, instead of inferring them from the return types of the lambda functions used as visitors. * include/std/variant (__visit_with_index): Remove type