Rcpp Version 1.1.2
Loading...
Searching...
No Matches
std::hash< Rcpp::String > Struct Reference

#include <String.h>

Public Member Functions

size_t operator() (const Rcpp::String &s) const
std::size_t operator() (const Rcpp::String &key) const

Public Attributes

hash< SEXP > pointer_hasher

Detailed Description

Definition at line 738 of file String.h.

Member Function Documentation

◆ operator()() [1/2]

std::size_t std::hash< Rcpp::String >::operator() ( const Rcpp::String & key) const
inline

Definition at line 26 of file sets.h.

References Rcpp::String::get_sexp(), and pointer_hasher.

Here is the call graph for this function:

◆ operator()() [2/2]

size_t std::hash< Rcpp::String >::operator() ( const Rcpp::String & s) const
inline

Definition at line 739 of file String.h.

References Rcpp::String::get_cstring().

Here is the call graph for this function:

Member Data Documentation

◆ pointer_hasher

hash<SEXP> std::hash< Rcpp::String >::pointer_hasher

Definition at line 29 of file sets.h.

Referenced by operator()().


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