chigraph  master
Systems programming language written for beginners in LLVM
std::hash< boost::filesystem::path > Struct Template Reference

Hasing for filesystem paths so they can be used with unordered_* containers. More...

#include <chi/Support/HashFilesystemPath.hpp>

Public Member Functions

size_t operator() (const boost::filesystem::path &p) const
 The hash fucntion. More...
 

Detailed Description

template<>
struct std::hash< boost::filesystem::path >

Hasing for filesystem paths so they can be used with unordered_* containers.

Definition at line 15 of file HashFilesystemPath.hpp.

Member Function Documentation

◆ operator()()

size_t std::hash< boost::filesystem::path >::operator() ( const boost::filesystem::path &  p) const
inline

The hash fucntion.

Parameters
pThe path to hash
Returns
The hash

Definition at line 19 of file HashFilesystemPath.hpp.


The documentation for this struct was generated from the following file: