TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
C++ Coding Standard
Search

Rule:  COM#007

This rule is Obsolete
Synopsis:Use //====== for block comments at global scope
Language:C++
Severity Level:10
Category:Comments


Description:

Example:

namespace
{
    //==================================================================
    // DESCRIPTION: Example of a definition of an internal function,
    //	    which shall not be declared as static.
    // NOTES	  : Although the linkage may actually be external,
    //	    the compiler ensures that this unnamed namespace is in fact
    //	    a namespace with a hidden, and unique name that is a one 
    //	    to one relation with this translation unit.
    //==================================================================
    int
    bb_ib_mod_func()
    {
	return bb_ib_mod_variable;
    }
}