summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/hash_fun.hxx.in
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'upstream-KWSys' into update-kwsysBrad King2016-11-091-36/+53
| | | | | * upstream-KWSys: KWSys 2016-11-09 (18c65411)
* Merge branch 'upstream-kwsys' into update-kwsysBrad King2015-09-021-23/+23
|
* KWSys: Remove dependencies on FundamentalTypeBrad King2012-05-021-3/+2
| | | | | | | | | The hash_fun.hxx header is configured whether FundamentalType is enabled or not and so cannot depend on it. Run the relevant platform tests whether or not FundamentalType is on and configure the result directly into hash_fun. While at it, remove the dependence of SystemInformation on FundamentalType too since it needs only information that we now always compute.
* KWSys: Fix std::string hash function for BorlandBrad King2011-09-011-0/+2
| | | | Borland ignores "const" qualifiers in template specializations.
* KWSys: Add hash function for std::stringBrad King2011-09-011-0/+11
| | | | | | | | | Added hashing fuction for std::string. This adds default support for std::strings to KWSys hashing containers. Author: Bradley Lowekamp <blowekamp@mail.nih.gov> Suggested-by: Arnaud Gelas <arnaud_gelas@hms.harvard.edu> Change-Id: I7e7a0c356b73d19868a3df1db57b702ec7fffe9d
* KWSys: __int64 and long long may be same type in specializationBrad King2011-08-091-4/+3
| | | | | | | | | | | | | For the specialization of hash<>(), the types long long and __int64 may be the same type. While the CMakeLists indicate that if __int64 is a alias for another type the it will not be enabled, on mingw they both appear to be the same type and enabled. This patch only enable specialization for long long OR __int64 to avoid the potential conflict. Author: Bradley Lowekamp <blowekamp@mail.nih.gov> Change-Id: I813a9ac008b296fab5a369c48e6dd5460fd0c035
* KWSys: Fix using long long and __int64 with hash_(set|map)Brad King2011-08-081-1/+24
| | | | | | | | Added hash function for types long long and __int64, conditional on detection by FundamentalType. Author: Bradley Lowekamp <blowekamp@mail.nih.gov> Change-Id: Ie273f55cd4387ca3dbbe00b9d96ad4935e456c9e
* Convert KWSys to OSI-approved BSD LicenseBrad King2009-09-281-11/+9
| | | | | | | This converts the KWSys license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the KWSys copyright to cover the full development time range.
* COMP: Added KWSYS_CXX_HAS_CSTDDEF try-compile to KWSys to provide ↵Brad King2005-04-151-0/+2
| | | | kwsys/cstddef header (to get size_t for hash_fun.hxx).
* ENH: Adding SGI hash_map and hash_set implementation ported from STL to ↵Brad King2005-04-131-0/+115
KWSys. This also adds try-compiles for KWSYS_STL_HAS_ALLOCATOR_REBIND, KWSYS_CXX_HAS_FULL_SPECIALIZATION, KWSYS_CXX_HAS_MEMBER_TEMPLATES, and KWSYS_CXX_HAS_NULL_TEMPLATE_ARGS.