Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70250 - sandbox/local/libs/local/example
From: lorcaminiti_at_[hidden]
Date: 2011-03-20 20:34:16


Author: lcaminiti
Date: 2011-03-20 20:34:15 EDT (Sun, 20 Mar 2011)
New Revision: 70250
URL: http://svn.boost.org/trac/boost/changeset/70250

Log:
Reorganized example files.
Removed:
   sandbox/local/libs/local/example/params_none.cpp
   sandbox/local/libs/local/example/params_none_ep.cpp
Text files modified:
   sandbox/local/libs/local/example/params_all.cpp | 2 ++
   sandbox/local/libs/local/example/params_all_va.cpp | 2 ++
   sandbox/local/libs/local/example/this.cpp | 2 ++
   sandbox/local/libs/local/example/this_va.cpp | 2 ++
   4 files changed, 8 insertions(+), 0 deletions(-)

Modified: sandbox/local/libs/local/example/params_all.cpp
==============================================================================
--- sandbox/local/libs/local/example/params_all.cpp (original)
+++ sandbox/local/libs/local/example/params_all.cpp 2011-03-20 20:34:15 EDT (Sun, 20 Mar 2011)
@@ -4,6 +4,7 @@
 // License, Version 1.0 (see accompanying file LICENSE_1_0.txt or a
 // copy at http://www.boost.org/LICENSE_1_0.txt).
 
+//[params_all_cpp
 #include <boost/local/function.hpp>
 
 struct s {
@@ -159,4 +160,5 @@
     s().f();
     return 0;
 }
+//]
 

Modified: sandbox/local/libs/local/example/params_all_va.cpp
==============================================================================
--- sandbox/local/libs/local/example/params_all_va.cpp (original)
+++ sandbox/local/libs/local/example/params_all_va.cpp 2011-03-20 20:34:15 EDT (Sun, 20 Mar 2011)
@@ -4,6 +4,7 @@
 // License, Version 1.0 (see accompanying file LICENSE_1_0.txt or a
 // copy at http://www.boost.org/LICENSE_1_0.txt).
 
+//[params_all_va_cpp
 #include <boost/local/function.hpp>
 
 struct s {
@@ -159,4 +160,5 @@
     s().f();
     return 0;
 }
+//]
 

Deleted: sandbox/local/libs/local/example/params_none.cpp
==============================================================================
--- sandbox/local/libs/local/example/params_none.cpp 2011-03-20 20:34:15 EDT (Sun, 20 Mar 2011)
+++ (empty file)
@@ -1,22 +0,0 @@
-
-// Copyright (C) 2009-2011 Lorenzo Caminiti
-// Use, modification, and distribution is subject to the Boost Software
-// License, Version 1.0 (see accompanying file LICENSE_1_0.txt or a
-// copy at http://www.boost.org/LICENSE_1_0.txt).
-
-#include <boost/local/function.hpp>
-
-int main() {
- // No params, no const binds, no plain binds (token).
- void BOOST_LOCAL_FUNCTION_PARAMS(void) {
- } BOOST_LOCAL_FUNCTION_NAME(l)
- l();
-
- // No params, no const binds, no plain binds (sequence).
- void BOOST_LOCAL_FUNCTION_PARAMS( (void) ) {
- } BOOST_LOCAL_FUNCTION_NAME(m)
- m();
-
- return 0;
-}
-

Deleted: sandbox/local/libs/local/example/params_none_ep.cpp
==============================================================================
--- sandbox/local/libs/local/example/params_none_ep.cpp 2011-03-20 20:34:15 EDT (Sun, 20 Mar 2011)
+++ (empty file)
@@ -1,17 +0,0 @@
-
-// Copyright (C) 2009-2011 Lorenzo Caminiti
-// Use, modification, and distribution is subject to the Boost Software
-// License, Version 1.0 (see accompanying file LICENSE_1_0.txt or a
-// copy at http://www.boost.org/LICENSE_1_0.txt).
-
-#include <boost/local/function.hpp>
-
-int main() {
- // No params, no const binds, no plain binds (empty parenthesis).
- void BOOST_LOCAL_FUNCTION_PARAMS() {
- } BOOST_LOCAL_FUNCTION_NAME(l)
- l();
-
- return 0;
-}
-

Modified: sandbox/local/libs/local/example/this.cpp
==============================================================================
--- sandbox/local/libs/local/example/this.cpp (original)
+++ sandbox/local/libs/local/example/this.cpp 2011-03-20 20:34:15 EDT (Sun, 20 Mar 2011)
@@ -4,6 +4,7 @@
 // License, Version 1.0 (see accompanying file LICENSE_1_0.txt or a
 // copy at http://www.boost.org/LICENSE_1_0.txt).
 
+//[this_cpp
 #include <boost/local/function.hpp>
 #include <vector>
 #include <algorithm>
@@ -46,4 +47,5 @@
     
     return 0;
 }
+//]
 

Modified: sandbox/local/libs/local/example/this_va.cpp
==============================================================================
--- sandbox/local/libs/local/example/this_va.cpp (original)
+++ sandbox/local/libs/local/example/this_va.cpp 2011-03-20 20:34:15 EDT (Sun, 20 Mar 2011)
@@ -4,6 +4,7 @@
 // License, Version 1.0 (see accompanying file LICENSE_1_0.txt or a
 // copy at http://www.boost.org/LICENSE_1_0.txt).
 
+//[this_va_cpp
 #include <boost/local/function.hpp>
 #include <vector>
 #include <algorithm>
@@ -46,4 +47,5 @@
     
     return 0;
 }
+//]
 


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