Update of /cvsroot/boost/boost/tools/quickbook/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24914/test

Modified Files:
        stub.cpp 
Log Message:
Added ignored import code feature

Index: stub.cpp
===================================================================
RCS file: /cvsroot/boost/boost/tools/quickbook/test/stub.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- stub.cpp    28 Feb 2007 10:20:50 -0000      1.4
+++ stub.cpp    7 Mar 2007 01:29:25 -0000       1.5
@@ -43,14 +43,27 @@
     x() : n(0)
     {
     }
+
     /*<< Destructor >>*/
     ~x()
     {
     }
 
+    /*<< Get the `n` member variable >>*/
+    int get() const
+    {
+        return n; /*<- this will be ignored by quickbook ->*/
+    }
+
+    /*<< Set the `n` member variable >>*/
+    void set(int n_)
+    {
+        n = n_;
+    }
+//<- this will be ignored by quickbook
 private:
 
-    /*<< `n` member variable >>*/
     int n;
+//->
 };
 //]


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to