[all-commits] [llvm/llvm-project] ac458a: [libc++][format] Implements P3107R5 in <format>.

Mark de Wever via All-commits all-commits at lists.llvm.org
Sat Mar 30 11:53:24 PDT 2024


  Branch: refs/heads/users/mordante/P3107R5_improves_print__format
  Home:   https://github.com/llvm/llvm-project
  Commit: ac458a68865883b6f96bb68201ee6e627a8c0a54
      https://github.com/llvm/llvm-project/commit/ac458a68865883b6f96bb68201ee6e627a8c0a54
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-03-30 (Sat, 30 Mar 2024)

  Changed paths:
    M libcxx/include/__format/formatter.h
    M libcxx/include/__format/formatter_bool.h
    M libcxx/include/__format/formatter_char.h
    M libcxx/include/__format/formatter_floating_point.h
    M libcxx/include/__format/formatter_integer.h
    M libcxx/include/__format/formatter_pointer.h
    M libcxx/include/__format/formatter_string.h
    M libcxx/include/format
    M libcxx/modules/std/format.inc
    A libcxx/test/std/utilities/format/format.formatter/format.formatter.locking/enable_nonlocking_formatter_optimization.compile.pass.cpp

  Log Message:
  -----------
  [libc++][format] Implements P3107R5 in <format>.

This adds the new std::enable_nonlocking_formatter_optimization trait in
<format>. This trait will be used in std::print to implement the
performance benefits.

Implements parts of
- P3107R5 - Permit an efficient implementation of ``std::print``



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