File: prn4.cc

package info (click to toggle)
cccc 1:3.1.4-4
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 3,956 kB
  • sloc: ansic: 33,244; cpp: 10,527; java: 622; makefile: 156; sh: 11
file content (13 lines) | stat: -rw-r--r-- 415 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
// prn4.cc

// Classes with namespace qualifiers should have their name
// reduced to the final component.  In versions prior to 3.pre45 
// this did not happen.  On Unix systems the result was reports 
// with names like std::string.html.  On Win32, the colon is not 
// legal in file names and the report generation process terminates early.

void MyClass::someFunction(const std::string& s)
{
  // do nothing
}