| 
    VTK
    9.3.0
    
   | 
 
Functions | |
| constexpr VTKCOMMONCORE_EXPORT vtkStringToken::Hash | operator""_hash (const char *data, std::size_t size) | 
| Construct the hash of a string literal, like so:   | |
| constexpr VTKCOMMONCORE_EXPORT vtkStringToken | operator""_token (const char *data, std::size_t size) | 
| Construct a token from a string literal, like so:   | |
      
  | 
  inlineconstexprprotected | 
Construct the hash of a string literal, like so:
As the example above shows, it is possible to use hashed strings in switch statements since the hashing occurs at build time. This is more efficient than a sequence of if-conditionals performing string comparisons.
Definition at line 139 of file vtkStringToken.h.
      
  | 
  inlineconstexprprotected | 
Construct a token from a string literal, like so:
Definition at line 154 of file vtkStringToken.h.