ndnboost: Also rename BOOST_ to NDNBOOST_
diff --git a/include/ndnboost/range/end.hpp b/include/ndnboost/range/end.hpp
index 9a7cb11..ec7d54d 100644
--- a/include/ndnboost/range/end.hpp
+++ b/include/ndnboost/range/end.hpp
@@ -8,8 +8,8 @@
// For more information, see http://www.boost.org/libs/range/
//
-#ifndef BOOST_RANGE_END_HPP
-#define BOOST_RANGE_END_HPP
+#ifndef NDNBOOST_RANGE_END_HPP
+#define NDNBOOST_RANGE_END_HPP
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
# pragma once
@@ -17,7 +17,7 @@
#include <ndnboost/range/config.hpp>
-#ifdef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
+#ifdef NDNBOOST_NO_FUNCTION_TEMPLATE_ORDERING
#include <ndnboost/range/detail/end.hpp>
#else
@@ -28,8 +28,8 @@
namespace ndnboost
{
-#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) && \
- !BOOST_WORKAROUND(__GNUC__, < 3) \
+#if !NDNBOOST_WORKAROUND(__BORLANDC__, NDNBOOST_TESTED_AT(0x564)) && \
+ !NDNBOOST_WORKAROUND(__GNUC__, < 3) \
/**/
namespace range_detail
{
@@ -39,7 +39,7 @@
// primary template
//////////////////////////////////////////////////////////////////////
template< typename C >
- inline BOOST_DEDUCED_TYPENAME range_iterator<C>::type
+ inline NDNBOOST_DEDUCED_TYPENAME range_iterator<C>::type
range_end( C& c )
{
//
@@ -82,8 +82,8 @@
return range_detail::array_end<T,sz>( a );
}
-#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) && \
- !BOOST_WORKAROUND(__GNUC__, < 3) \
+#if !NDNBOOST_WORKAROUND(__BORLANDC__, NDNBOOST_TESTED_AT(0x564)) && \
+ !NDNBOOST_WORKAROUND(__GNUC__, < 3) \
/**/
} // namespace 'range_detail'
#endif
@@ -92,10 +92,10 @@
{
template< class T >
-inline BOOST_DEDUCED_TYPENAME range_iterator<T>::type end( T& r )
+inline NDNBOOST_DEDUCED_TYPENAME range_iterator<T>::type end( T& r )
{
-#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) && \
- !BOOST_WORKAROUND(__GNUC__, < 3) \
+#if !NDNBOOST_WORKAROUND(__BORLANDC__, NDNBOOST_TESTED_AT(0x564)) && \
+ !NDNBOOST_WORKAROUND(__GNUC__, < 3) \
/**/
using namespace range_detail;
#endif
@@ -103,10 +103,10 @@
}
template< class T >
-inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type end( const T& r )
+inline NDNBOOST_DEDUCED_TYPENAME range_iterator<const T>::type end( const T& r )
{
-#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) && \
- !BOOST_WORKAROUND(__GNUC__, < 3) \
+#if !NDNBOOST_WORKAROUND(__BORLANDC__, NDNBOOST_TESTED_AT(0x564)) && \
+ !NDNBOOST_WORKAROUND(__GNUC__, < 3) \
/**/
using namespace range_detail;
#endif
@@ -116,14 +116,14 @@
} // namespace range_adl_barrier
} // namespace 'boost'
-#endif // BOOST_NO_FUNCTION_TEMPLATE_ORDERING
+#endif // NDNBOOST_NO_FUNCTION_TEMPLATE_ORDERING
namespace ndnboost
{
namespace range_adl_barrier
{
template< class T >
- inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type
+ inline NDNBOOST_DEDUCED_TYPENAME range_iterator<const T>::type
const_end( const T& r )
{
return ndnboost::range_adl_barrier::end( r );