C++ Logo

sg7

Advanced search

Update: P1240R2 — Scalable Reflection - Lifiting operator

From: Jonathan O'Connor <jonathan.oconnor_at_[hidden]>
Date: Sun, 30 Jan 2022 12:51:05 +0000
Fellow elevator users,

Page 5:

In the discussion of `^f(x)` it is not clear if `f(x)` is evaluated. From later discussion,
it would seem that it is evaluated if f(x) is constexpr. Presumably `^printf("hello")` is not evaluated.

The final paragraph does not mention applying the lift operator to a lambda. Is
that possibility missing, or is it included as a class?

Page 9: final code block:

There should be a comment on `^printf("Hello, ")` stating the printf function is not invoked
before the lift operator.


Regards,
Jonathan

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Saturday, January 15th, 2022 at 17:41, Daveed Vandevoorde via SG7 <sg7_at_[hidden]> wrote:

> SG7 mailing list
>
> SG7_at_[hidden]
>
> https://lists.isocpp.org/mailman/listinfo.cgi/sg7

Received on 2022-01-30 12:51:08