]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/geometry/doc/src/docutils/tools/doxygen_xml2qbk/sample/src/examples/apple_example.cpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / geometry / doc / src / docutils / tools / doxygen_xml2qbk / sample / src / examples / apple_example.cpp
1 // Boost.Geometry (aka GGL, Generic Geometry Library)
2 // doxygen_xml2qbk Example
3
4 // Copyright (c) 2011-2012 Barend Gehrels, Amsterdam, the Netherlands.
5
6 // Use, modification and distribution is subject to the Boost Software License,
7 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
8 // http://www.boost.org/LICENSE_1_0.txt)
9
10 //[apple
11 //` Call eat for the apple
12
13 #include "fruit.hpp"
14
15 int main()
16 {
17 fruit::apple<> a("my sample apple");
18 eat(a);
19 return 0;
20 }
21 //]
22
23
24 //[apple_output
25 /*`
26 Output:
27 [pre
28 my sample apple
29 ]
30 */
31 //]