/Src/Dependencies/Boost/libs/geometry/doc/src/docutils/tools/doxygen_xml2qbk/sample/src/fruit.cpp

http://hadesmem.googlecode.com/ · C++ · 24 lines · 9 code · 9 blank · 6 comment · 0 complexity · 51e07968dca5e03b5a5edb3e48bb485b MD5 · raw file

  1. // Boost.Geometry (aka GGL, Generic Geometry Library)
  2. // doxygen_xml2qbk Example
  3. // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands.
  4. // Use, modification and distribution is subject to the Boost Software License,
  5. // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. #include <iostream>
  8. #include <string>
  9. #include "fruit.hpp"
  10. int main()
  11. {
  12. fruit::apple<> a("my apple");
  13. eat(a);
  14. return 0;
  15. }