1 [/==============================================================================
2 Copyright (C) 2001-2010 Joel de Guzman
3 Copyright (C) 2001-2005 Dan Marsden
4 Copyright (C) 2001-2010 Thomas Heller
6 Distributed under the Boost Software License, Version 1.0. (See accompanying
7 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 ===============================================================================/]
12 References are functions. They hold a reference to a value stored somewhere.
16 char const* s = "Hello World";
18 we create `references` to `i` and `s` this way:
23 Like `val`, the expressions above evaluates to a nullary function; the first one
24 returning an `int&`, and the second one returning a `char const*&`.
26 (See [@../../example/references.cpp references.cpp])
28 [blurb __tip__ Learn more about references [link phoenix.modules.core.references here.]]