This pull request allows sol2 to be compiled by version 11.4 of the CUDA C++ compiler nvcc. It essentially consists of workarounds for compiler bugs, and I certainly understand the annoyance of changing one's code due to bad compilers, but if this is merged then the mainline version of sol2 will be able to support our High Performance Computing codes with no modifications.
Thank you for any time you spend reviewing this and considering it for merging, please let me know if there is anything I can do to help.
I don't think it should change any behavior, although the construction of a pointer by forwarded arguments change might be worth a look by someone with deeper C++ knowledge.
Hello,
This pull request allows sol2 to be compiled by version 11.4 of the CUDA C++ compiler
nvcc
. It essentially consists of workarounds for compiler bugs, and I certainly understand the annoyance of changing one's code due to bad compilers, but if this is merged then the mainline version of sol2 will be able to support our High Performance Computing codes with no modifications.Thank you for any time you spend reviewing this and considering it for merging, please let me know if there is anything I can do to help.
I don't think it should change any behavior, although the construction of a pointer by forwarded arguments change might be worth a look by someone with deeper C++ knowledge.