From: Joseph M. Newcomer on
I believe that means "to the implementation of the C/C++ runtime implementation", not "to
the implementation of code written by programmers outside the compiler environment".

So it is still bad style to use this technique in any user-written code; it is reserved
for the implementors of the C/C++ runtimes.
joe

On Mon, 12 Apr 2010 13:21:46 -0400, "Pete Delgado" <Peter.Delgado(a)NoSpam.com> wrote:

>
>"David Ching" <dc(a)remove-this.dcsoft.com> wrote in message
>news:%23MKaTb$1KHA.1036(a)TK2MSFTNGP06.phx.gbl...
>> "Goran" <goran.pusic(a)gmail.com> wrote in message
>> news:9891b928-3a77-4738-aedb-0a6671fd1656(a)11g2000yqr.googlegroups.com...
>>> P.S. "m_"!? Puh-lease! Ok, I agree that it's interesting to prefix
>>> class data members, but what's wrong with a simple "_", or "F" (for
>>> "field", as Borland does)?
>>
>> A leading '_' is reserved for compiler extensions, I believe.
>
>The C++ standard reserves the use of names within the global namespace that
>begin with an underscore to the implementation. This means that class
>members may indeed begin with an underscore because they are contained
>within the class namespace.
>
>-Pete
>
Joseph M. Newcomer [MVP]
email: newcomer(a)flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
From: Pete Delgado on

"David Ching" <dc(a)remove-this.dcsoft.com> wrote in message
news:ePjeoS12KHA.1452(a)TK2MSFTNGP06.phx.gbl...
> These days it's not so easy to draw the line, with "projects" having all
> manner of different technologies in them. For example, a project might
> have C++/COM, C++/MFC, Javascript, etc. Perhaps it makes more sense to
> say similar "modules" should have the same conventions.

I could live with that wording! :-)

-Pete