Changeset 44917


Ignore:
Timestamp:
Apr 30, 2008, 7:18:31 AM (11 years ago)
Author:
Daniel James
Message:

Support compilers without ADL in the compile tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/unordered/trunk/libs/unordered/test/objects/minimal.hpp

    r44779 r44917  
    6161    bool operator!=(copy_constructible_equality_comparable, copy_constructible_equality_comparable) {
    6262        return false;
    63     }
    64 
    65     std::size_t hash_value(copy_constructible_equality_comparable) {
    66         return 1;
    6763    }
    6864
     
    271267}
    272268
     269#if defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP)
     270namespace boost {
     271#else
     272namespace test {
     273namespace minimal {
     274#endif
     275    std::size_t hash_value(test::minimal::copy_constructible_equality_comparable) {
     276        return 1;
     277    }
     278#if !defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP)
     279}}
     280#else
     281}
     282#endif
     283
     284
    273285#if defined(BOOST_MSVC)
    274286#pragma warning(pop)
Note: See TracChangeset for help on using the changeset viewer.