mirror of
https://github.com/boostorg/container_hash.git
synced 2026-02-01 08:22:17 +00:00
11 lines
263 B
C++
11 lines
263 B
C++
#include <boost/functional/hash.hpp>
|
|
#include <boost/shared_ptr.hpp>
|
|
|
|
// This should obviously pass if shared_ptr ever supports Boost.Hash.
|
|
|
|
int main() {
|
|
boost::hash<boost::shared_ptr<int> > hash;
|
|
boost::shared_ptr<int> x(new int(10));
|
|
|
|
hash(x);
|
|
} |