boostorg / boostorg/safe_numerics

support pointers

Open
#54 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
222
Forks
46
PR merge metrics
No merged PRs in 30d

Description

adding a safe o to a char* p causes the compiler to generate a static_cast from an integer to a pointer, which is invalid c++

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is identified. Reproduce the pointer-arithmetic case described in the issue, trace where adding safe to char* produces the invalid static_cast, and define the expected supported behavior before adding regression coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.