Ticket #11655: diab_edg_friend_namespace_bug.patch

File diab_edg_friend_namespace_bug.patch, 1.1 KB (added by Brian Kuhl <brian.kuhl@…>, 7 years ago)
  • boost_1_59_0/boost/program_options/eof_iterator.hpp

    diff -uNdr boost/program_options/eof_iterator.hpp boost.fixed/program_options/eof_iterator.hpp
     
    6868
    6969
    7070    private: // iterator core operations
     71#ifdef __DCC__
     72        friend class boost::iterator_core_access;
     73#else
    7174        friend class iterator_core_access;
    72 
     75#endif       
    7376        void increment()
    7477        {
    7578            static_cast<Derived&>(*this).get();
  • boost_1_59_0/boost/token_iterator.hpp

    diff -uNdr boost/token_iterator.hpp boost.fixed/token_iterator.hpp
     
    3838          , const Type&
    3939        >
    4040  {
    41 
    42       friend class iterator_core_access;
     41#ifdef __DCC__
     42        friend class boost::iterator_core_access;
     43#else
     44        friend class iterator_core_access;
     45#endif       
    4346
    4447      TokenizerFunc f_;
    4548      Iterator begin_;