summaryrefslogtreecommitdiffstats
path: root/cxx/libcpp/foo.h
blob: ba27d390f692dc6ba4d54b28b8f78c1a833ecf17 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _foo_h
#define _foo_h

#include <iostream>

class foo {
public	:
  int i ;

  foo() : i(0) {} ;
  foo( const int i0 ) : i(i0) {};

  friend ostream& operator << (ostream&,const foo&);
  friend ostream& operator << (ostream&,const foo&, const foo&);
};

#endif