Jul 21, 2016 at 10:36pm Jul 21, 2016 at 10:36pm UTC
The return value of name()
is implementation-defined, so I guess it makes sense they do whatever they like with the "actual" internal name.
Jul 21, 2016 at 11:50pm Jul 21, 2016 at 11:50pm UTC
I understand the actual implementation is not defined, as other parts of the C++ standard are, the details left up to the creators. I just thought it interesting the differences between two different compilers.
Last edited on Jul 22, 2016 at 12:09am Jul 22, 2016 at 12:09am UTC
Jul 22, 2016 at 1:05pm Jul 22, 2016 at 1:05pm UTC
Visual Studio isn't unique: Oracle C++ and IBM XL C++ also produce human-readable type names.
Jul 22, 2016 at 2:09pm Jul 22, 2016 at 2:09pm UTC
@Cubbi,
Thank you for that particular insight. I don't use those tools so didn't know their implementation.
Out of 4 currently mentioned compilers it looks like GCC is "odd man out."
Curiouser and curiouser, I say. ;)