|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r54332 - sandbox/committee/LWG/proposals
From: dgregor_at_[hidden]
Date: 2009-06-25 10:18:33
Author: dgregor
Date: 2009-06-25 10:18:32 EDT (Thu, 25 Jun 2009)
New Revision: 54332
URL: http://svn.boost.org/trac/boost/changeset/54332
Log:
Fix a broken example
Text files modified:
sandbox/committee/LWG/proposals/exported-concept-maps.html | 10 +++++-----
sandbox/committee/LWG/proposals/exported-concept-maps.rst | 8 ++++----
2 files changed, 9 insertions(+), 9 deletions(-)
Modified: sandbox/committee/LWG/proposals/exported-concept-maps.html
==============================================================================
--- sandbox/committee/LWG/proposals/exported-concept-maps.html (original)
+++ sandbox/committee/LWG/proposals/exported-concept-maps.html 2009-06-25 10:18:32 EDT (Thu, 25 Jun 2009)
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Docutils 0.5: http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.6: http://docutils.sourceforge.net/" />
<title>Exported Concept Maps</title>
<meta name="authors" content="Dave Abrahams <dave@boostpro.com> and Doug Gregor <doug.gregor@gmail.com>" />
<meta name="date" content="2009-06-22" />
@@ -551,10 +551,10 @@
export concept_map C<Y> { } // Y::f and Y::g are now visible
-void f(X &x) {
- x.f(); // okay: calls C<Y>'s Y::f
- x.g(); // okay: calls C<Y>'s Y::g
- x.h(); // okay: calls Y::h
+void f(Y &y) {
+ y.f(); // okay: calls C<Y>'s Y::f
+ y.g(); // okay: calls C<Y>'s Y::g
+ y.h(); // okay: calls Y::h
}
</pre>
</li>
Modified: sandbox/committee/LWG/proposals/exported-concept-maps.rst
==============================================================================
--- sandbox/committee/LWG/proposals/exported-concept-maps.rst (original)
+++ sandbox/committee/LWG/proposals/exported-concept-maps.rst 2009-06-25 10:18:32 EDT (Thu, 25 Jun 2009)
@@ -269,10 +269,10 @@
export concept_map C<Y> { } // Y::f and Y::g are now visible
- void f(X &x) {
- x.f(); // okay: calls C<Y>'s Y::f
- x.g(); // okay: calls C<Y>'s Y::g
- x.h(); // okay: calls Y::h
+ void f(Y &y) {
+ y.f(); // okay: calls C<Y>'s Y::f
+ y.g(); // okay: calls C<Y>'s Y::g
+ y.h(); // okay: calls Y::h
}
:ins:`- end example]`
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk