2 * This program checks if the compiler / platform supports strongly
6 #include "test_config.h"
8 #if defined (ACE_HAS_CPP11)
13 typedef std::array
< float, 5 > arrayType
;
14 typedef std::array
< arrayType
, 5 > array_array
;
18 run_main (int, ACE_TCHAR
*[])
20 ACE_START_TEST (ACE_TEXT("Compiler_Features_18_Test"));
22 Test::array_array v_in
= { { Test::arrayType
{
23 { 1.0, 2.0, 3.0, 4.0, 5.0 } }, Test::arrayType
{ { 1.0, 2.0, 3.0, 4.0,
24 5.0 } }, Test::arrayType
{ { 1.0, 2.0, 3.0, 4.0, 5.0 } },
25 Test::arrayType
{ { 1.0, 2.0, 3.0, 4.0, 5.0 } }, Test::arrayType
{ {
26 1.0, 2.0, 3.0, 4.0, 5.0 } } } };
28 ACE_UNUSED_ARG (v_in
);
31 ACE_TEXT ("Std arrays work.\n")));
40 run_main (int, ACE_TCHAR
*[])
42 ACE_START_TEST (ACE_TEXT("Compiler_Features_18_Test"));
45 ACE_TEXT ("No C++11 support enabled\n")));