Update of /cvsroot/boost/boost/libs/lambda/doc/detail
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv25311
Modified Files:
lambda_doc.xml
Log Message:
Correct placement of base class declaration
Index: lambda_doc.xml
===================================================================
RCS file: /cvsroot/boost/boost/libs/lambda/doc/detail/lambda_doc.xml,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- lambda_doc.xml 7 Jul 2004 19:43:52 -0000 1.14
+++ lambda_doc.xml 14 Jul 2006 08:04:08 -0000 1.15
@@ -163,8 +163,8 @@
As an example, one possible implementation for the standard
<literal>plus</literal> template is:
<programlisting>
-<![CDATA[template <class T> : public binary_function<T, T, T>
-struct plus {
+<![CDATA[template <class T>
+struct plus : public binary_function<T, T, T> {
T operator()(const T& i, const T& j) const {
return i + j;
}
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs