Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/libs/variant/test/class_a.h @ 29

Last change on this file since 29 was 29, checked in by landauf, 16 years ago

updated boost from 1_33_1 to 1_34_1

File size: 910 bytes
Line 
1//-----------------------------------------------------------------------------
2// boost-libs variant/libs/test/class_a.h header file
3// See http://www.boost.org for updates, documentation, and revision history.
4//-----------------------------------------------------------------------------
5//
6// Copyright (c) 2003
7// Eric Friedman, Itay Maman
8//
9// Distributed under the Boost Software License, Version 1.0. (See
10// accompanying file LICENSE_1_0.txt or copy at
11// http://www.boost.org/LICENSE_1_0.txt)
12
13#ifndef _CLASSA_H_INC_
14#define _CLASSA_H_INC_
15
16
17#include <iosfwd>
18
19struct class_a
20{
21   ~class_a();
22   class_a(int n = 5511);
23   class_a(const class_a& other);
24
25   class_a& operator=(const class_a& rhs);
26   void swap(class_a& other);
27
28   int get() const;
29
30private:
31   int n_;
32   class_a* self_p_;
33
34}; //Class_a
35
36std::ostream& operator<<(std::ostream& strm, const class_a& a);
37
38 
39
40#endif //_CLASSA_H_INC_
Note: See TracBrowser for help on using the repository browser.