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