BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsl::hash< signed char > Struct Reference

#include <bslstl_hash.h>

Public Member Functions

 hash ()=default
 Create a hash object.
 
 hash (const hash &original)=default
 
 ~hash ()=default
 Destroy this object.
 
hashoperator= (const hash &rhs)=default
 
std::size_t operator() (signed char x) const
 Return a hash value computed using the specified x.
 

Public Attributes

BSLSTL_HASH_DEPRECATED_CPP17 typedef signed char argument_type
 
BSLSTL_HASH_DEPRECATED_CPP17 typedef std::size_t result_type
 

Constructor & Destructor Documentation

◆ hash() [1/2]

bsl::hash< signed char >::hash ( )
default

◆ hash() [2/2]

bsl::hash< signed char >::hash ( const hash< signed char > &  original)
default

Create a hash object. Note that as hash is an empty (stateless) type, this operation has no observable effect.

◆ ~hash()

bsl::hash< signed char >::~hash ( )
default

Member Function Documentation

◆ operator()()

std::size_t bsl::hash< signed char >::operator() ( signed char  x) const

◆ operator=()

hash & bsl::hash< signed char >::operator= ( const hash< signed char > &  rhs)
default

Assign to this object the value of the specified rhs object, and return a reference providing modifiable access to this object. Note that as hash is an empty (stateless) type, this operation has no observable effect.

Member Data Documentation

◆ argument_type

BSLSTL_HASH_DEPRECATED_CPP17 typedef signed char bsl::hash< signed char >::argument_type
Deprecated:
This typedef is depreacted in C++17, for details see https://isocpp.org/files/papers/p0005r4.html.

◆ result_type

BSLSTL_HASH_DEPRECATED_CPP17 typedef std::size_t bsl::hash< signed char >::result_type
Deprecated:
This typedef is depreacted in C++17, for details see https://isocpp.org/files/papers/p0005r4.html.

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