In generic class SizeOf(_T) = 0 at compile time
Original Reporter info from Mantis: batyann811
-
Reporter name:
Original Reporter info from Mantis: batyann811
- Reporter name:
Description:
At compile time, in a method of a generic class with _T as placeholder, SizeOf(_T) evaluates to 0.
This leads to wrong compiler messages like "division by zero". See attached example.
Mantis conversion info:
- Mantis ID: 20192
- OS: Linux
- Platform: x86
- Version: 2.4.4
- Fixed in version: 3.0.0
- Fixed in revision: 19285 (#9d31a0e2)
- Monitored by: » batyann811 (batyann811)