mirror of
https://github.com/boostorg/quickbook.git
synced 2026-01-27 07:02:15 +00:00
29 lines
678 B
C++
29 lines
678 B
C++
/*=============================================================================
|
|
Copyright (c) 2006 Joel de Guzman
|
|
http://spirit.sourceforge.net/
|
|
|
|
Use, modification and distribution is subject to the Boost Software
|
|
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
|
http://www.boost.org/LICENSE_1_0.txt)
|
|
=============================================================================*/
|
|
#include <string>
|
|
|
|
//[ bar
|
|
//` This is the [*/bar/] function
|
|
std::string bar()
|
|
{
|
|
// return 'em, bar man!
|
|
return "bar";
|
|
}
|
|
//]
|
|
|
|
//[ foo
|
|
/*` This is the [*['foo]] function. */
|
|
std::string foo()
|
|
{
|
|
// return 'em, foo man!
|
|
return "foo";
|
|
}
|
|
//]
|
|
|