BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bsl::hash< signed char > Struct Reference

#include <bslstl_hash.h>

Detailed Description

Specialization of hash for signed char values.

Public Member Functions

 hash ()=default
 
 hash (const hash &original)=default
 
 ~hash ()=default
 
hashoperator= (const hash &rhs)=default
 
std::size_t operator() (signed char x) const
 

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

Create a hash object.

◆ hash() [2/2]

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

Create a hash object.

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

◆ ~hash()

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

Destroy this object.

Member Function Documentation

◆ operator()()

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

Return a hash value computed using the specified x.

◆ 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
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: