summaryrefslogtreecommitdiff
path: root/include/ftl/concat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ftl/concat.h')
-rw-r--r--include/ftl/concat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ftl/concat.h b/include/ftl/concat.h
index ded48f7c8c..e0774d39f3 100644
--- a/include/ftl/concat.h
+++ b/include/ftl/concat.h
@@ -20,7 +20,9 @@
namespace android::ftl {
-// Lightweight (not allocating nor sprintf-based) concatenation.
+// Lightweight (not allocating nor sprintf-based) concatenation. The variadic arguments can be
+// values of integral type (including bool and char), string literals, or strings whose length
+// is constrained:
//
// std::string_view name = "Volume";
// ftl::Concat string(ftl::truncated<3>(name), ": ", -3, " dB");