[all-commits] [llvm/llvm-project] 6157db: [libc++] Introduce __forward_as (#118168)

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Sat Dec 14 06:09:38 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6157dbe48c21d900da1c7df11a8072a235f82001
      https://github.com/llvm/llvm-project/commit/6157dbe48c21d900da1c7df11a8072a235f82001
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-12-14 (Sat, 14 Dec 2024)

  Changed paths:
    M libcxx/include/__utility/forward_like.h
    M libcxx/include/variant

  Log Message:
  -----------
  [libc++] Introduce __forward_as (#118168)

This allows forwarding an object as a specific type. This is usually
useful when using `deducing this` to avoid calling any functions in a
deriving class.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list