Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Compile time hash macro
Re: Compile time hash macro [message #56389 is a reply to message #56342] Wed, 03 March 2021 10:06 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Novo wrote on Tue, 23 February 2021 18:07
Not right now. But you can try to reimplement function hash_t memhash(const void *ptr, size_t count) as constexpr.
If you do that it will be possible to call it at compile time.


NOTE: String is not using (only) memhash, so the value would not be the same.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: error: call to implicitly-deleted copy constructor
Next Topic: deprecated function encountered
Goto Forum:
  


Current Time: Mon May 06 03:15:20 CEST 2024

Total time taken to generate the page: 0.02530 seconds