archetypes.hpp 975 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef TEST_SUPPORT_ARCHETYPES_HPP
  2. #define TEST_SUPPORT_ARCHETYPES_HPP
  3. #include "test_macros.h"
  4. #if TEST_STD_VER >= 11
  5. //============================================================================//
  6. // Trivial Implicit Test Types
  7. namespace ImplicitTypes {
  8. #include "archetypes.ipp"
  9. }
  10. //============================================================================//
  11. // Trivial Explicit Test Types
  12. namespace ExplicitTypes {
  13. #define DEFINE_EXPLICIT explicit
  14. #include "archetypes.ipp"
  15. }
  16. //============================================================================//
  17. // Non-Trivial Implicit Test Types
  18. namespace NonLiteralTypes {
  19. #define DEFINE_DTOR(Name) ~Name() {}
  20. #include "archetypes.ipp"
  21. }
  22. //============================================================================//
  23. // Non-Trivially Copyable Implicit Test Types
  24. namespace NonTrivialTypes {
  25. #define DEFINE_CTOR {}
  26. #include "archetypes.ipp"
  27. }
  28. #endif // TEST_STD_VER >= 11
  29. #endif // TEST_SUPPORT_ARCHETYPES_HPP