]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/tools/docca/example/include/docca/issue_48.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / tools / docca / example / include / docca / issue_48.hpp
CommitLineData
20effc67
TL
1//
2// Copyright (c) 2020 Krystian Stasiowski (sdkrystian@gmail.com)
3//
4// Distributed under the Boost Software License, Version 1.0. (See accompanying
5// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6//
7
8#ifndef EXAMPLE_ISSUE_48_HPP
9#define EXAMPLE_ISSUE_48_HPP
10
11namespace example {
12
13class X
14{
15};
16
17struct Y
18{
19};
20
21/** Issue 48
22
23 The class should show one regular
24 public member function and two friend
25 functions.
26*/
27class issue_48
28{
29 /// This should not be emitted.
30 friend class X;
31
32 /// This should not be emitted.
33 friend struct Y;
34
35 /// This should be emitted
36 friend void g( issue_48 );
37
38public:
39 void f();
40
41 /// This should be emitted
42 friend void h( issue_48 );
43};
44
45} // example
46
47#endif