ORNL / ORNL/cpp-proposals-pub

P1684: Container requirement does not include .data() and pointer

Open
#274 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
29
Forks
26
PR merge metrics
No merged PRs in 30d

Description

P1684 currently constraints Container to be a contiguous container. This is insufficient, because a contiguous container does not require .data() or pointer. Instead, it requires iterator and const_iterator to be random access and contiguous iterators. The latter can be converted into a pointer, but not through .data().

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

Locate the P1684 proposal text and read its current Container requirement alongside the linked contiguous-container definition. Update the requirement so it covers the missing .data() and pointer expectations, then verify that the wording is consistent throughout the proposal.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 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.