I could not get this to compile on clang17 (with pretty permissive compile flags). It worked on MSVC though, quite strange that MSVC allows this behaviour, but I digress.
I forward declare the pair and include for the std::*_t definitions required for the library.
This has not been tested on other compilers or toolchains except for MSVC (cl.exe: Microsoft (R) C/C++ Optimizing Compiler Version 19.37.32824 for x64).
I could not get this to compile on clang17 (with pretty permissive compile flags). It worked on MSVC though, quite strange that MSVC allows this behaviour, but I digress.
I forward declare the pair and include for the std::*_t definitions required for the library.
This has not been tested on other compilers or toolchains except for MSVC (cl.exe: Microsoft (R) C/C++ Optimizing Compiler Version 19.37.32824 for x64).
This allows for compilation on clang17.0.3.