source: utilib/trunk/test/koenig.cpp @ 1092

Revision 1092, 775 bytes checked in by wehart, 8 years ago (diff)

Resolving copyright/documentation issues in UTILIB code.

( Links to Acro-related mail archives at  http://software.sandia.gov/Acro/ )

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1/*  _________________________________________________________________________
2 *
3 *  UTILIB: A utility library for developing portable C++ codes.
4 *  Copyright (c) 2001, Sandia National Laboratories.
5 *  This software is distributed under the GNU Lesser General Public License.
6 *  For more information, see the README file in the top UTILIB directory.
7 *  _________________________________________________________________________
8 */
9
10
11#include <utilib/std_headers.h>
12#include <utilib/stl_auxillary.h>
13
14#ifdef UTILIB_HAVE_NAMESPACES
15using namespace std;
16#endif
17using namespace utilib;
18
19
20namespace tester {
21
22template <class TYPE>
23class A {
24public:
25
26  void bar()
27        {
28        TYPE d;
29        vector<TYPE> a,b;
30        a << d;
31        }
32};
33
34
35}
36
37
38
39using namespace tester;
40
41void foo ()
42{
43A<int> a;
44a.bar();
45}
Note: See TracBrowser for help on using the repository browser.