--
You received this message because you are subscribed to the Google Groups "cxx" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cxx+uns...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/cxx/CAF1j9YNmOPo37qgJ8SAPgf2oU1kHFjOW0h3tg13a%3DD_O1ZDnog%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/cxx/CAHtyhaTCrGj5hCxybcVjYdkiMtJ%3D43-OVNF1jG4aJ1E6nkCEtQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/cxx/CAF1j9YPC0BVWUqydC2kZA1L2_2n857Szp%2B8-XRUH9yn2PWy_fw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/cxx/6e07547f-de16-4414-8483-3082515e6e25%40chromium.org.
I'll try to draft a CL to add this to "Chromium C++ Dos and Don'ts" if there are no objections.
--
You received this message because you are subscribed to the Google Groups "cxx" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cxx+uns...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/cxx/CAF1j9YMMfzaMMt3v2nTUEseffFgMZtQazkVDjSDOCNmR4JtHLQ%40mail.gmail.com.
For those who wonder why we don't need to specify calling convention in the implementation. This is not needed according to https://docs.microsoft.com/en-us/cpp/cpp/stdcall?view=vs-2019
"For non-static class functions, if the function is defined out-of-line, the calling convention modifier does not have to be specified on the out-of-line definition. That is, for class non-static member methods, the calling convention specified during declaration is assumed at the point of definition."