This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Immediate status.

4446. Bad phrasing for SCHED(s)

Section: 33.13.5 [exec.task.scheduler] Status: Immediate Submitter: Tomasz KamiƄski Opened: 2025-11-05 Last modified: 2025-11-05

Priority: Not Prioritized

View other active issues in [exec.task.scheduler].

View all other issues in [exec.task.scheduler].

View all issues with Immediate status.

Discussion:

Addresses US 240-370

shared_ptr owns a pointer (or nullptr_t), not the pointee, but SCHED wants the pointee.

[Kona 2025-11-05; approved by LWG. Status changed: New → Immediate.]

Proposed resolution:

This wording is relative to N5014.

  1. Modify 33.13.5 [exec.task.scheduler] as indicated:

    -1- task_scheduler is a class that models scheduler (33.6 [exec.sched]). Given an object s of type task_scheduler, let SCHED be the object pointed to by the pointer owned by s.sch_.