From 8886e3d7da065a996c581104e73439f607eeba61 Mon Sep 17 00:00:00 2001 From: Steven Watanabe Date: Wed, 8 Dec 2010 17:21:32 +0000 Subject: [PATCH] Fix name in list example. Fixes #4875. [SVN r67105] --- doc/refmanual/list.html | 2 +- doc/src/refmanual/list.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/refmanual/list.html b/doc/refmanual/list.html index 8f6a809..e267a5a 100644 --- a/doc/refmanual/list.html +++ b/doc/refmanual/list.html @@ -142,7 +142,7 @@ of l in the same order; see

Example

 typedef list<float,double,long double> floats;
-typedef push_front<floating_types,int>::type types;
+typedef push_front<floats,int>::type types;
 
 BOOST_MPL_ASSERT(( is_same< front<types>::type, int > ));
 
diff --git a/doc/src/refmanual/list.rst b/doc/src/refmanual/list.rst index abbc93a..5de356d 100644 --- a/doc/src/refmanual/list.rst +++ b/doc/src/refmanual/list.rst @@ -102,7 +102,7 @@ Example .. parsed-literal:: typedef list floats; - typedef push_front::type types; + typedef push_front::type types; BOOST_MPL_ASSERT(( is_same< front::type, int > ));