mirror of
https://github.com/reactos/CMake.git
synced 2025-01-26 13:57:07 +00:00
ea5477e43d
Turn the feature check for cxx11_unordered_map into a function such that we can use it for other features as well. Drop the 11 suffix, as we may want to check features from other standards.
8 lines
102 B
C++
8 lines
102 B
C++
#include <unordered_map>
|
|
int main()
|
|
{
|
|
std::unordered_map<int, int> map;
|
|
map[0] = 0;
|
|
return 0;
|
|
}
|