[clang] [libcxx] [clang-tools-extra] [llvm] [libcxx] adds ranges::fold_left_with_iter and ranges::fold_left (PR #75259)

Konstantin Varlamov via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 20 11:14:59 PST 2023


================
@@ -0,0 +1,89 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef TEST_SUPPORT_INVOCABLE_WITH_TELEMETRY_H
+#define TEST_SUPPORT_INVOCABLE_WITH_TELEMETRY_H
+
+#include <cassert>
+#include <concepts>
+#include <functional>
+#include <utility>
+
+#if TEST_STD_VER < 20
+#  error invocable_with_telemetry requires C++20
+#else
+struct invocable_telemetry {
----------------
var-const wrote:

Is there precedent for calling this kind of measurements "telemetry"? I've only ever seen "telemetry" to describe a somewhat higher-level and heavier-weight kind of measurements about the behavior of the application in general, usually involving transmitting data over a network (which seems to be implied by the `tele` part).

https://github.com/llvm/llvm-project/pull/75259


More information about the llvm-commits mailing list