KhronosGroup / Vulkan-Hpp

Open-Source Vulkan C++ API
Apache License 2.0
3.08k stars 304 forks source link

[c++20 module] functions from vk::detail:: pulled into vk:: #1928

Closed qbojj closed 1 month ago

qbojj commented 1 month ago

vulkan.cppm uses namespace vk { ... using vk::detail::{createResultValue, ignore, resultCheck} ... }, so those symbols are present in the vk:: namespace instead of the original vk::detail::

asuessenbach commented 1 month ago

@sharadhr, could you please have a look on this issue?

sharadhr commented 1 month ago

Ideally these symbols shouldn't be exported at all, since they're in a detail namespace. It's pretty trivial to remove them, but it's worth testing that the module still works as expected without exporting these synbols.