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

Mark de Wever via All-commits all-commits at lists.llvm.org
Tue Mar 26 12:32:18 PDT 2024


  Branch: refs/heads/users/mordante/P3107R5_improves_print__format
  Home:   https://github.com/llvm/llvm-project
  Commit: 626944965aec893e46db468bdf898fbe562912b3
      https://github.com/llvm/llvm-project/commit/626944965aec893e46db468bdf898fbe562912b3
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-03-26 (Tue, 26 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