Created
June 17, 2020 18:07
-
-
Save studoot/2f7a3293f6e6ea63d318fba34d3faf42 to your computer and use it in GitHub Desktop.
Issue with xxhash_cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "xxhash.hpp" | |
#include <iostream> | |
extern void process(); | |
int main(int, char **) | |
{ | |
process(); | |
std::cout << "xxhash<32>(1) => " << xxh::xxhash<32>(std::array<uint32_t, 1>{1}) << std::endl; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "xxhash.hpp" | |
#include <iostream> | |
void process() | |
{ | |
std::cout << "xxhash<32>(1) => " << xxh::xxhash<32>(std::array<uint32_t, 1>{1}) << std::endl; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Build the two files by putting them and
xxhash.hpp
from this commit in a directory & using the commandYou should see the following output: