On 9 Jun 2021 20:03, Bonita Montero wrote:
> And even [if the lambda] hasn't the proper calling-convention,
> there's an implcit compilation of the callig-operator for the calling
> convention of the enumeration-function.
Well, there's no such guarantee in the standard.
Visual C++ overloads the function call operator of a lambda object and
that causes some bugs with respect to conversions. One I reported got
fixed. Others remain, AFAIK.
But for 64-bit Windows programming you should be safe: 1 calling
convention to rule them all.
- Alf