Ticket #5436: units.patch

File units.patch, 588 bytes (added by Chris Jefferson, 12 years ago)
  • boost/units/base_dimension.hpp

     
    7777        typedef Derived type;
    7878
    7979    private:
     80        // Check in C++0x if an ordinal is registered for two different types.
     81        // INTERNAL ONLY
     82        friend
     83        Derived*
     84        check_double_register(units::base_dimension_ordinal<N>&) { return 0; }
     85
    8086        /// Register this ordinal
    8187        /// INTERNAL ONLY
    8288        friend detail::yes