cplusplus / cplusplus/draft

[std] might and could: re-review for complicated cases

Open
#4,340 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TeX
Stars
221
Forks
813
Avg merge
16h 4m
Merged PRs (30d)
36

Description

[meta.rqmts] p5

that instantiation would yield a different result if performed in a context where T were a complete type

"yield a different result" -> "the validity or meaning of the instantiation depends on the completeness of T"; run by CWG / LWG.

[time.zone.info.sys]

A correct offset for the \tcode{time_zone} off daylight saving time
can be obtained by querying the \tcode{time_zone} with a \tcode{time_point}
that returns a \tcode{sys_info} where \tcode{save == 0min}.
There is no guarantee
what \tcode{time_point} (if any) returns such a \tcode{sys_info}
except that it is guaranteed not to be in the range \range{begin}{end}
(if \tcode{save != 0min} for this \tcode{sys_info}).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the quoted [meta.rqmts] p5 and [time.zone.info.sys] wording in the C++ draft. Start with the surrounding standard text and the CWG/LWG context mentioned for the first change, then examine the time-zone guarantee in [time.zone.info.sys]. Done means the complicated cases are resolved and the resulting wording is reflected in the draft.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.