C++ Logo

std-proposals

Advanced search

Re: [std-proposals] std::elide

From: Frederick Virchanza Gotham <cauldwell.thomas_at_[hidden]>
Date: Thu, 27 Jun 2024 13:52:02 +0100
The paper on std::elide, P3288, is now at Revision No. 3:

    http://www.virjacode.com/papers/p3288.htm

Here's the changes:

R2 => R3

1) Possible implementation changed to store a lambda
      instead of using a tuple full of references, with optimisations
      for function pointers and very small trivial functors.

2) Two separate classes std::elide and std::elide_c1 so that the
      programmer can use the latter in a scenario where a template
      constructor is desired to be instantiated with an elider as its
      sole parameter type.

3) Chaining of eliders is now possible with operator().

4) tag_elide renamed to tag_tempfail_ctor_soleparam to make it
generic so that it can be used for other purposes in the future.

5) The example of deriving a class from std::elide is removed as
it’s unnecessary because we have std::elide_c1.

Received on 2024-06-27 12:52:15