2 * This program checks if the compiler / platform supports constexpr
5 #include "test_config.h"
7 #if defined (ACE_HAS_CPP11)
12 constexpr int get_five()
21 static constexpr char const* adapter_name
= "TAOX11_AnyInsert_Adapter";
22 static constexpr uint32_t bound
= std::numeric_limits
<uint32_t>::max();
26 run_main (int, ACE_TCHAR
*[])
28 ACE_START_TEST (ACE_TEXT("Compiler_Features_17_Test"));
31 ACE_TEXT ("Constexpr works.\n")));
40 run_main (int, ACE_TCHAR
*[])
42 ACE_START_TEST (ACE_TEXT("Compiler_Features_17_Test"));
45 ACE_TEXT ("No C++11 support enabled\n")));