8#ifndef INCLUDED_BSLH_FILESYSTEM
9#define INCLUDED_BSLH_FILESYSTEM
264#include <bslscm_version.h>
272#ifdef BSLS_LIBRARYFEATURES_HAS_CPP17_FILESYSTEM
275#define BSLH_FILESYSTEM_DEPRECATED_CPP17 \
276 BSLS_DEPRECATE_FEATURE("bsl", \
277 "deprecated_cpp17_standard_library_features", \
289struct Hash<
std::filesystem::path> {
295 BSLH_FILESYSTEM_DEPRECATED_CPP17
296 typedef std::filesystem::path argument_type;
300 BSLH_FILESYSTEM_DEPRECATED_CPP17
308 hash(
const hash& original) =
default;
319 hash&
operator=(
const hash& rhs) =
default;
324 std::size_t
operator()(
const std::filesystem::path &x)
const;
333 const std::filesystem::path& x)
const
335 return std::filesystem::hash_value(x);
347template <
class HASHALG>
349void hashAppend(HASHALG& hashAlg,
const std::filesystem::path& path)
351 using BloombergLP::bslh::hashAppend;
352 BloombergLP::bslh::Hash<std::filesystem::path> hashFunctor;
360#undef BSLH_FILESYSTEM_DEPRECATED_CPP17
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bslh_defaulthashalgorithm.h:339
bsl::enable_if<(bsl::is_integral< TYPE >::value||bsl::is_pointer< TYPE >::value||bsl::is_enum< TYPE >::value)&&!bsl::is_same< TYPE, bool >::value >::type hashAppend(HASH_ALGORITHM &hashAlg, TYPE input)
Definition bslh_hash.h:638
Definition bdldfp_decimal.h:5188
result_type operator()(const TYPE &type) const
Hash & operator=(const Hash &rhs)=default
size_t result_type
Definition bslh_hash.h:586