Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69375 - in sandbox/local: . boost/local/aux_/preprocessor/keyword
From: lorcaminiti_at_[hidden]
Date: 2011-02-27 21:40:20


Author: lcaminiti
Date: 2011-02-27 21:40:19 EST (Sun, 27 Feb 2011)
New Revision: 69375
URL: http://svn.boost.org/trac/boost/changeset/69375

Log:
Fixed local pp-keyword to use new keyword dir structure.
Added:
   sandbox/local/COPYRIGHT.txt (contents, props changed)
   sandbox/local/LICENSE_1_0.txt (contents, props changed)
Text files modified:
   sandbox/local/TODO.txt | 4 ++--
   sandbox/local/boost/local/aux_/preprocessor/keyword/bind.hpp | 24 +++++++++++-------------
   sandbox/local/boost/local/aux_/preprocessor/keyword/const_bind.hpp | 12 +++++-------
   3 files changed, 18 insertions(+), 22 deletions(-)

Added: sandbox/local/COPYRIGHT.txt
==============================================================================
--- (empty file)
+++ sandbox/local/COPYRIGHT.txt 2011-02-27 21:40:19 EST (Sun, 27 Feb 2011)
@@ -0,0 +1,5 @@
+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).

Added: sandbox/local/LICENSE_1_0.txt
==============================================================================
--- (empty file)
+++ sandbox/local/LICENSE_1_0.txt 2011-02-27 21:40:19 EST (Sun, 27 Feb 2011)
@@ -0,0 +1,23 @@
+Boost Software License - Version 1.0 - August 17th, 2003
+
+Permission is hereby granted, free of charge, to any person or organization
+obtaining a copy of the software and accompanying documentation covered by
+this license (the "Software") to use, reproduce, display, distribute,
+execute, and transmit the Software, and to prepare derivative works of the
+Software, and to permit third-parties to whom the Software is furnished to
+do so, all subject to the following:
+
+The copyright notices in the Software and this entire statement, including
+the above license grant, this restriction and the following disclaimer,
+must be included in all copies of the Software, in whole or in part, and
+all derivative works of the Software, unless such copies or derivative
+works are solely in the form of machine-executable object code generated by
+a source language processor.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.

Modified: sandbox/local/TODO.txt
==============================================================================
--- sandbox/local/TODO.txt (original)
+++ sandbox/local/TODO.txt 2011-02-27 21:40:19 EST (Sun, 27 Feb 2011)
@@ -11,9 +11,9 @@
 * Docs: If `, default ...` syntax seems strange for C99, programmers can always use `#define WITH_DEFAULT(x) , default x` or similar macro instead.
 
 
-* Try seriously to make nested locals to work...
+* Code: Try seriously to make nested locals to work...
 
-* Optimize macro expansion code for C++0x, C++03, etc. From John Bytheway:
+* Code: Optimize macro expansion code for C++0x, C++03, etc. From John Bytheway:
> Yes, in C++0x local structs can be passed as template parameters.
> Obviously, in C++0x there are lambdas too, so you might think your
> library is useless, but I'd expect most compilers to support passing

Modified: sandbox/local/boost/local/aux_/preprocessor/keyword/bind.hpp
==============================================================================
--- sandbox/local/boost/local/aux_/preprocessor/keyword/bind.hpp (original)
+++ sandbox/local/boost/local/aux_/preprocessor/keyword/bind.hpp 2011-02-27 21:40:19 EST (Sun, 27 Feb 2011)
@@ -8,9 +8,9 @@
 #ifndef BOOST_LOCAL_AUX_PP_KEYWORD_BIND_HPP_
 #define BOOST_LOCAL_AUX_PP_KEYWORD_BIND_HPP_
 
-#include <boost/detail/preprocessor/keyword/utility/is.hpp>
-#include <boost/detail/preprocessor/keyword/utility/add.hpp>
-#include <boost/detail/preprocessor/keyword/utility/remove.hpp>
+#include <boost/detail/preprocessor/keyword/facility/is.hpp>
+#include <boost/detail/preprocessor/keyword/facility/add.hpp>
+#include <boost/detail/preprocessor/keyword/facility/remove.hpp>
 
 // These are not local macros -- DO NOT #UNDEF.
 #define BOOST_LOCAL_AUX_PP_KEYWORD_BIND_IS_bind (1) /* unary */
@@ -21,36 +21,34 @@
 // Is.
 
 #define BOOST_LOCAL_AUX_PP_KEYWORD_IS_BIND_FRONT(tokens) \
- BOOST_DETAIL_PP_KEYWORD_UTILITY_IS_FRONT(tokens, \
+ BOOST_DETAIL_PP_KEYWORD_FACILITY_IS_FRONT(tokens, \
             BOOST_LOCAL_AUX_PP_KEYWORD_BIND_IS_)
 
 #define BOOST_LOCAL_AUX_PP_KEYWORD_IS_BIND_BACK(tokens) \
- BOOST_DETAIL_PP_KEYWORD_UTILITY_IS_BACK(tokens, \
+ BOOST_DETAIL_PP_KEYWORD_FACILITY_IS_BACK(tokens, \
             _BOOST_LOCAL_AUX_PP_KEYWORD_BIND_IS)
 
 // Rremove.
 
 #define BOOST_LOCAL_AUX_PP_KEYWORD_BIND_REMOVE_FRONT(tokens) \
- BOOST_DETAIL_PP_KEYWORD_UTILITY_REMOVE_FRONT(tokens, \
+ BOOST_DETAIL_PP_KEYWORD_FACILITY_REMOVE_FRONT(tokens, \
             BOOST_LOCAL_AUX_PP_KEYWORD_IS_BIND_FRONT, \
             BOOST_LOCAL_AUX_PP_KEYWORD_BIND_REMOVE_)
 
 #define BOOST_LOCAL_AUX_PP_KEYWORD_BIND_REMOVE_BACK(tokens) \
- BOOST_DETAIL_PP_KEYWORD_UTILITY_REMOVE_BACK(tokens, \
+ BOOST_DETAIL_PP_KEYWORD_FACILITY_REMOVE_BACK(tokens, \
             BOOST_LOCAL_AUX_PP_KEYWORD_IS_BIND_BACK, \
             _BOOST_LOCAL_AUX_PP_KEYWORD_BIND_REMOVE)
 
 // Add.
 
 #define BOOST_LOCAL_AUX_PP_KEYWORD_BIND_ADD_FRONT(tokens) \
- BOOST_DETAIL_PP_KEYWORD_UTILITY_ADD_FRONT(tokens, \
- BOOST_LOCAL_AUX_PP_KEYWORD_IS_BIND_FRONT, \
- bind)
+ BOOST_DETAIL_PP_KEYWORD_FACILITY_ADD_FRONT(tokens, \
+ BOOST_LOCAL_AUX_PP_KEYWORD_IS_BIND_FRONT, bind)
 
 #define BOOST_LOCAL_AUX_PP_KEYWORD_BIND_ADD_BACK(tokens) \
- BOOST_DETAIL_PP_KEYWORD_UTILITY_ADD_BACK(tokens, \
- BOOST_LOCAL_AUX_PP_KEYWORD_IS_BIND_BACK, \
- bind)
+ BOOST_DETAIL_PP_KEYWORD_FACILITY_ADD_BACK(tokens, \
+ BOOST_LOCAL_AUX_PP_KEYWORD_IS_BIND_BACK, bind)
 
 #endif // #include guard
 

Modified: sandbox/local/boost/local/aux_/preprocessor/keyword/const_bind.hpp
==============================================================================
--- sandbox/local/boost/local/aux_/preprocessor/keyword/const_bind.hpp (original)
+++ sandbox/local/boost/local/aux_/preprocessor/keyword/const_bind.hpp 2011-02-27 21:40:19 EST (Sun, 27 Feb 2011)
@@ -10,7 +10,7 @@
 
 #include "bind.hpp"
 #include <boost/detail/preprocessor/keyword/const.hpp>
-#include <boost/detail/preprocessor/keyword/utility/add.hpp>
+#include <boost/detail/preprocessor/keyword/facility/add.hpp>
 #include <boost/preprocessor/control/iif.hpp>
 #include <boost/preprocessor/tuple/eat.hpp>
 
@@ -57,14 +57,12 @@
 // Add.
 
 #define BOOST_LOCAL_AUX_PP_KEYWORD_CONST_BIND_ADD_FRONT(tokens) \
- BOOST_DETAIL_PP_KEYWORD_UTILITY_ADD_FRONT(tokens, \
- BOOST_LOCAL_AUX_PP_KEYWORD_IS_CONST_BIND_FRONT, \
- const bind)
+ BOOST_DETAIL_PP_KEYWORD_FACILITY_ADD_FRONT(tokens, \
+ BOOST_LOCAL_AUX_PP_KEYWORD_IS_CONST_BIND_FRONT, const bind)
 
 #define BOOST_LOCAL_AUX_PP_KEYWORD_CONST_BIND_ADD_BACK(tokens) \
- BOOST_DETAIL_PP_KEYWORD_UTILITY_ADD_BACK(tokens, \
- BOOST_LOCAL_AUX_PP_KEYWORD_IS_CONST_BIND_BACK, \
- const bind)
+ BOOST_DETAIL_PP_KEYWORD_FACILITY_ADD_BACK(tokens, \
+ BOOST_LOCAL_AUX_PP_KEYWORD_IS_CONST_BIND_BACK, const bind)
 
 #endif // #include guard
 


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