I found what seems to be a compiler bug in Visual Studio 2019 (toolset v142). Here\'s a minimal piece of code to test for yourself:
#include