sl@0
|
1 |
/***********************************************************************************
|
sl@0
|
2 |
TestClass.cpp
|
sl@0
|
3 |
|
sl@0
|
4 |
* Copyright (c) 1997
|
sl@0
|
5 |
* Mark of the Unicorn, Inc.
|
sl@0
|
6 |
*
|
sl@0
|
7 |
* Permission to use, copy, modify, distribute and sell this software
|
sl@0
|
8 |
* and its documentation for any purpose is hereby granted without fee,
|
sl@0
|
9 |
* provided that the above copyright notice appear in all copies and
|
sl@0
|
10 |
* that both that copyright notice and this permission notice appear
|
sl@0
|
11 |
* in supporting documentation. Mark of the Unicorn makes no
|
sl@0
|
12 |
* representations about the suitability of this software for any
|
sl@0
|
13 |
* purpose. It is provided "as is" without express or implied warranty.
|
sl@0
|
14 |
|
sl@0
|
15 |
***********************************************************************************/
|
sl@0
|
16 |
#include "TestClass.h"
|
sl@0
|
17 |
|
sl@0
|
18 |
#include <iostream>
|
sl@0
|
19 |
|
sl@0
|
20 |
std::ostream& operator << (std::ostream& s, const TestClass& t) {
|
sl@0
|
21 |
return s << t.value();
|
sl@0
|
22 |
}
|
sl@0
|
23 |
|
sl@0
|
24 |
|