_GetConstantBufferByName causes an exception in debug mode because the CRT thinks m_CBsByName and m_StructuredBufferCBsByName are of different types, so a type mismatch exception is thrown.
If DXIL is not used as a target, no problem. No problem in Release mode too.
_GetConstantBufferByName causes an exception in debug mode because the CRT thinks m_CBsByName and m_StructuredBufferCBsByName are of different types, so a type mismatch exception is thrown.
If DXIL is not used as a target, no problem. No problem in Release mode too.