33 Concurrency support library [thread]

33.4 Threads [thread.threads]

33.4.4 Class jthread [thread.jthread.class]

33.4.4.6 Static members [thread.jthread.static]

[[nodiscard]] static unsigned int hardware_concurrency() noexcept;
Returns: thread​::​hardware_­concurrency().