Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50915 - in trunk/libs/parameter: doc test/literate
From: daniel_at_[hidden]
Date: 2009-01-30 16:08:22


Author: danielw
Date: 2009-01-30 16:08:22 EST (Fri, 30 Jan 2009)
New Revision: 50915
URL: http://svn.boost.org/trac/boost/changeset/50915

Log:
parameter-doc: Added missing default value on optional parameter
specification.

Text files modified:
   trunk/libs/parameter/doc/index.rst | 2 +-
   trunk/libs/parameter/test/literate/static-member-functions0.cpp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/parameter/doc/index.rst
==============================================================================
--- trunk/libs/parameter/doc/index.rst (original)
+++ trunk/libs/parameter/doc/index.rst 2009-01-30 16:08:22 EST (Fri, 30 Jan 2009)
@@ -1164,7 +1164,7 @@
   struct somebody
   {
       BOOST_PARAMETER_MEMBER_FUNCTION(
- (void), **static** f, tag, (optional (arg1,(int))))
+ (void), **static** f, tag, (optional (arg1,(int),0)))
       {
           std::cout << arg1 << std::endl;
       }

Modified: trunk/libs/parameter/test/literate/static-member-functions0.cpp
==============================================================================
--- trunk/libs/parameter/test/literate/static-member-functions0.cpp (original)
+++ trunk/libs/parameter/test/literate/static-member-functions0.cpp 2009-01-30 16:08:22 EST (Fri, 30 Jan 2009)
@@ -9,7 +9,7 @@
 struct somebody
 {
     BOOST_PARAMETER_MEMBER_FUNCTION(
- (void), static f, tag, (optional (arg1,(int))))
+ (void), static f, tag, (optional (arg1,(int),0)))
     {
         std::cout << arg1 << std::endl;
     }


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