Compilation errors with templates are often unclear and not easily decrypted, unless they are very well versed in templates. Many times, an expert programmer could also be confused by this. I am sure that most of us have felt this many times.
As I understand it, the C ++ standard only provides an implementation to provide diagnostics for a poorly formed program, but not how and what diagnostic messages should be provided. However, are there any recommendations made by the Standards Committee to solve this problem, it is not easy to decrypt the diagnostics (especially) in the case of templates. Did it even come to mind for discussion? Also, the main implementations that do something or plan on this issue?
The question is quite open for discussion, but with the fact that the SO C ++ community is one of the most active C ++ communities, I am sure that someone should have at least some idea about this. In addition, several members of the standardization committee (I know) are actively participating in the C ++ tag, I hope they can get some information about this, if etc.
source
share