X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=boost%2Finterprocess%2Findexes%2Fnull_index.hpp;h=d0e026b896cb0f17c2d6d31ab991d29392bd8bd1;hb=08c1e93fa36a49f49325a07fe91ff92c964c2b6c;hp=a0353b101c1a4a337957707430f35d64e493a6a4;hpb=bb4dd8289b351fae6b55e303f189127a394a1edd;p=platform%2Fupstream%2Fboost.git diff --git a/boost/interprocess/indexes/null_index.hpp b/boost/interprocess/indexes/null_index.hpp index a0353b1..d0e026b 100644 --- a/boost/interprocess/indexes/null_index.hpp +++ b/boost/interprocess/indexes/null_index.hpp @@ -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) // @@ -10,6 +10,10 @@ #ifndef BOOST_INTERPROCESS_NULL_INDEX_HPP #define BOOST_INTERPROCESS_NULL_INDEX_HPP +#if defined(_MSC_VER) +# pragma once +#endif + #include #include @@ -28,14 +32,14 @@ namespace interprocess { template 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()