Address.hh (7563:406e98960def) Address.hh (7811:a8fc35183c10)
1/*
2 * Copyright (c) 1999 Mark D. Hill and David A. Wood
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 263 unchanged lines hidden (view full) ---

272template <> struct hash<Address>
273{
274 size_t
275 operator()(const Address &s) const
276 {
277 return (size_t)s.getAddress();
278 }
279};
1/*
2 * Copyright (c) 1999 Mark D. Hill and David A. Wood
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 263 unchanged lines hidden (view full) ---

272template <> struct hash<Address>
273{
274 size_t
275 operator()(const Address &s) const
276 {
277 return (size_t)s.getAddress();
278 }
279};
280/* namespace __hash_namespace */ }
280} // namespace __hash_namespace
281
282namespace std {
283template <> struct equal_to<Address>
284{
285 bool
286 operator()(const Address& s1, const Address& s2) const
287 {
288 return s1 == s2;
289 }
290};
281
282namespace std {
283template <> struct equal_to<Address>
284{
285 bool
286 operator()(const Address& s1, const Address& s2) const
287 {
288 return s1 == s2;
289 }
290};
291/* namespace std */ }
291} // namespace std
292
293#endif // __MEM_RUBY_COMMON_ADDRESS_HH__
292
293#endif // __MEM_RUBY_COMMON_ADDRESS_HH__