KhronosGroup / KhronosGroup/Vulkan-Hpp

Replace fixed-width integer types with `std::`-prefixed variants

Open
#2,668 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
3.8k
Forks
374
Avg merge
23h 4m
Merged PRs (30d)
32

Description

The headers make use of a lot of e.g. `uint32_t`, which could be replaced by `std::uint32_t` .
The former is provided by `` (C), while `` (C++) provides both.
Notably, when using the std module, only `std::` variants are provided with `import std` and would eliminate the header entirely.

It would be a bit of work to get this done, so I wanted to make sure something like this was even desirable.

Contributor guide

Open the contributing guide

Research direction

No specific files or tests are named. Start by locating the headers that use fixed-width types such as uint32_t and checking how they include or . Done means the applicable uses consistently use std::uint32_t-style names and the headers no longer depend on the C header where the issue permits.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.