isocpp / isocpp/CppCoreGuidelines
gsl::not_null conversion operator
Open
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 45.3k
- Forks
- 5.6k
- PR merge metrics
- No merged PRs in 30d
Description
An issue raised on the Microsoft/GSL that requests a conversion operator on gsl::not_null for non-copy constructible types (Microsoft/GSL#991).
Would the Guidelines editors like to see something like this added for gsl::not_null?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading this issue and the referenced Microsoft/GSL#991 discussion to understand the proposed gsl::not_null conversion operator. Determine whether the C++ Core Guidelines should document or recommend this behavior; done requires a clear editorial decision and an agreed guideline change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100