Files
UnrealEngine/Engine/Plugins/Animation/RigLogic/Source/RigLogicLibTest/Private/pmatests/TestPolyAllocIntegration.cpp
2025-05-18 13:04:45 +08:00

24 lines
676 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "pmatests/Defs.h"
#include "pma/TypeDefs.h"
// Old clang compiler in combination with new libstdc++
#if defined(__clang__) && (__clang_major__ < 9) && defined(_GLIBCXX_RELEASE) && (_GLIBCXX_RELEASE >= 10)
#define PMA_OLD_CLANG_NEW_LIBSTDCPP
#endif
TEST(PolyAllocIntegrationTest, InstantiateTypes) {
pma::String<char> str;
pma::Vector<int> vec;
pma::Matrix<int> mat;
#ifndef PMA_OLD_CLANG_NEW_LIBSTDCPP
pma::Set<int> set;
pma::Map<int, int> map;
#endif // PMA_OLD_CLANG_NEW_LIBSTDCPP
pma::UnorderedSet<int> uset;
pma::UnorderedMap<int, int> umap;
ASSERT_TRUE(true);
}