mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-12 13:51:41 +00:00
Merged revisions 54812-54818 via svnmerge from https://svn.boost.org/svn/boost/trunk ........ r54812 | danieljames | 2009-07-08 22:40:14 +0100 (Wed, 08 Jul 2009) | 1 line Add a couple of tests for quickbook 1.4 behaviour to try to preserve it. ........ r54813 | danieljames | 2009-07-08 22:40:24 +0100 (Wed, 08 Jul 2009) | 1 line Move all the syntax highlighting code into a single class. ........ r54814 | danieljames | 2009-07-08 22:40:33 +0100 (Wed, 08 Jul 2009) | 1 line Move the code actions a bit later in actions.hpp so they can use 'plain_char_action'. ........ r54815 | danieljames | 2009-07-08 22:40:46 +0100 (Wed, 08 Jul 2009) | 1 line Teletype source mode. Refs #1202. ........ r54816 | danieljames | 2009-07-08 22:41:00 +0100 (Wed, 08 Jul 2009) | 14 lines Make sure that a template expansion ends with a ']'. {{{ [template foo 1] [fool] }}} was generating `1[fool]` - the template would be expanded but then when it didn't match the `]` it would fail and just get copied to the output. This change checks for `]` before expanding the template. So it now generates `[fool]` which is an improvement. I'm not including a version switch as I see this as a plain bug fix - I can't imagine this change ever being anything but beneficial. ........ r54817 | danieljames | 2009-07-08 22:41:10 +0100 (Wed, 08 Jul 2009) | 1 line I got a bit confused by this comment, so try to make it clearer. ........ r54818 | danieljames | 2009-07-08 22:53:15 +0100 (Wed, 08 Jul 2009) | 3 lines Support INTERNAL ONLY enums in doxygen/boostbook documenation. Refs #3242. Patch by Mathias Gaunard. ........ [SVN r54910]
50 lines
1.4 KiB
C++
50 lines
1.4 KiB
C++
int global_integer;
|
|
static int global_static_integer;
|
|
const int global_const_integer = 1;
|
|
static const int global_static_const_integer = 2;
|
|
enum global_enum { enumerator };
|
|
|
|
namespace example
|
|
{
|
|
int namespace_integer;
|
|
static int namespace_static_integer;
|
|
const int namespace_const_integer = 1;
|
|
static const int namespace_static_const_integer = 2;
|
|
enum namespace_enum { enumerator };
|
|
|
|
class example
|
|
{
|
|
public:
|
|
int integer;
|
|
static int static_integer;
|
|
mutable int mutable_integer;
|
|
const int const_integer;
|
|
static const int static_const_integer;
|
|
|
|
enum class_enum { enumerator };
|
|
|
|
/// INTERNAL ONLY
|
|
enum internal_enum { internal_enumerator };
|
|
protected:
|
|
int protected_integer;
|
|
static int protected_static_integer;
|
|
mutable int protected_mutable_integer;
|
|
const int protected_const_integer;
|
|
static const int protected_static_const_integer;
|
|
|
|
enum protected_class_enum { enumerator2 };
|
|
private:
|
|
int private_integer;
|
|
static int private_static_integer;
|
|
mutable int private_mutable_integer;
|
|
const int private_const_integer;
|
|
static const int private_static_const_integer;
|
|
|
|
enum private_class_enum { enumerator3 };
|
|
};
|
|
|
|
template <typename TypeParameter, int NonTypeParameter,
|
|
typename TypeParameterWithDefault = int>
|
|
struct example_template {};
|
|
}
|