Point Cloud Library (PCL)
1.9.1
surface
include
pcl
surface
3rdparty
poisson4
hash.h
1
#ifndef HASH_INCLUDED
2
#define HASH_INCLUDED
3
#if defined _WIN32 && !defined __MINGW32__
4
#define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
5
#include <hash_map>
6
using namespace
stdext;
7
#else // !_WIN32 || __MINGW32__
8
#define _GLIBCXX_PERMIT_BACKWARD_HASH
9
#include <ext/hash_map>
10
using namespace
__gnu_cxx
;
11
12
13
namespace
__gnu_cxx
14
{
15
template
<>
struct
hash<long long> {
16
size_t
operator()
(
long
long
__x)
const
{
return
__x; }
17
};
18
template
<>
struct
hash<const long long> {
19
size_t
operator()
(
const
long
long
__x)
const
{
return
__x; }
20
};
21
22
23
template
<>
struct
hash<unsigned long long> {
24
size_t
operator()
(
unsigned
long
long
__x)
const
{
return
__x; }
25
};
26
template
<>
struct
hash<const unsigned long long> {
27
size_t
operator()
(
const
unsigned
long
long
__x)
const
{
return
__x; }
28
};
29
}
30
#endif // _WIN32 && !__MINGW32__
31
#endif // HASH_INCLUDED
32
__gnu_cxx::hash< const unsigned long long >::operator()
size_t operator()(const unsigned long long __x) const
Definition:
hash.h:27
__gnu_cxx::hash< long long >::operator()
size_t operator()(long long __x) const
Definition:
hash.h:16
__gnu_cxx::hash< unsigned long long >::operator()
size_t operator()(unsigned long long __x) const
Definition:
hash.h:24
__gnu_cxx
Definition:
hash.h:13
__gnu_cxx::hash< const long long >::operator()
size_t operator()(const long long __x) const
Definition:
hash.h:19