Imported Upstream version 1.57.0
[platform/upstream/boost.git] / boost / interprocess / indexes / null_index.hpp
index a0353b1..d0e026b 100644 (file)
@@ -1,6 +1,6 @@
 //////////////////////////////////////////////////////////////////////////////
 //
-// (C) Copyright Ion Gaztanaga 2005-2011. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2012. Distributed under the Boost
 // Software License, Version 1.0. (See accompanying file
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 //
 #ifndef BOOST_INTERPROCESS_NULL_INDEX_HPP
 #define BOOST_INTERPROCESS_NULL_INDEX_HPP
 
+#if defined(_MSC_VER)
+#  pragma once
+#endif
+
 #include <boost/interprocess/detail/config_begin.hpp>
 #include <boost/interprocess/detail/workaround.hpp>
 
@@ -28,14 +32,14 @@ namespace interprocess {
 template <class MapConfig>
 class null_index
 {
-   /// @cond
+   #if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
    typedef typename MapConfig::
       segment_manager_base    segment_manager_base;
-   /// @endcond
+   #endif   //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
 
    public:
-   typedef void * iterator;
-   typedef const void * const_iterator;
+   typedef int * iterator;
+   typedef const int * const_iterator;
 
    //!begin() is equal
    //!to end()