Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function template operator-

boost::interprocess::operator-

Synopsis

// In header: <boost/interprocess/offset_ptr.hpp>


template<typename T1, typename P1, typename O1, std::size_t A1, typename T2, 
         typename P2, typename O2, std::size_t A2> 
  offset_ptr< T1, P1, O1, A1 >::difference_type 
  operator-(const offset_ptr< T1, P1, O1, A1 > & pt, 
            const offset_ptr< T2, P2, O2, A2 > & pt2);

Description

offset_ptr - offset_ptr operation


PrevUpHomeNext