mirror of
https://github.com/boostorg/functional.git
synced 2026-01-30 10:02:15 +01: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);
|
|
} |