# Warning C26472 (use gsl::narrow_cast) ## Metadata | Field | Value | |---|---| | Institute | Molodetz Institute — Research & Retrieval Division | | Subject | safe-cpp-practices | | Document type | Source Citation Card | | Tier | 2 | | Source title | Warning C26472 (use gsl::narrow_cast) | | Source URL | https://learn.microsoft.com/en-us/cpp/code-quality/c26472?view=msvc-170 | | Source type | vendor docs | | Date researched | 2026-10-27 | | Researched by | tai (agent), model: Claude Opus 4.8, on behalf of retoor | | Research method | Search aggregator result listing (not independently opened or quoted) | | Confidence | Not independently verified | | Status | Active | ## Why it's here MSVC analyzer flags arithmetic static_cast, suggests narrow/narrow_cast. ## Changelog | Date | Change | |---|---| | 2026-10-27 | Logged as consulted-but-not-analyzed. |