C++17 removes std::auto_ptr so we don't provide the ACE auto_ptr templates anymore...
commited54a767da647199e7238d3f9eabe4ca9f22bde3
authorJohnny Willemsen <jwillemsen@remedy.nl>
Sat, 2 Sep 2023 14:37:49 +0000 (2 16:37 +0200)
committerJohnny Willemsen <jwillemsen@remedy.nl>
Sat, 2 Sep 2023 14:37:49 +0000 (2 16:37 +0200)
treefbfd8c8e21e2d84f9d6a4702254b30d63c274092
parent806844f81fea9ac89a0ea0a1f3aea7b804e4d502
C++17 removes std::auto_ptr so we don't provide the ACE auto_ptr templates anymore with C++17, use std::unique_ptr as replacement. Updated a lot of examples/tests to not use any ACE auto pointer templates but just std::unique_ptr

    * ACE/ACEXML/common/HttpCharStream.cpp:
    * ACE/ACEXML/common/URL_Addr.cpp:
    * ACE/ACEXML/common/XML_Codecs.cpp:
    * ACE/ACEXML/examples/SAXPrint/main.cpp:
    * ACE/ACEXML/parser/parser/Parser.cpp:
    * ACE/ACEXML/parser/parser/Parser.h:
    * ACE/Kokyu/Default_Dispatcher_Impl.cpp:
    * ACE/Kokyu/Kokyu_defs.h:
    * ACE/Kokyu/tests/DSRT_MIF/MIF.cpp:
    * ACE/ace/ACE.cpp:
    * ACE/ace/Auto_Functor.h:
    * ACE/ace/Auto_Ptr.cpp:
    * ACE/ace/Auto_Ptr.h:
    * ACE/ace/Auto_Ptr.inl:
    * ACE/ace/CDR_Stream.cpp:
    * ACE/ace/DLL_Manager.cpp:
    * ACE/ace/Log_Msg.h:
    * ACE/ace/Pagefile_Memory_Pool.cpp:
    * ACE/ace/Proactor.cpp:
    * ACE/ace/Refcounted_Auto_Ptr.h:
    * ACE/ace/SOCK_SEQPACK_Acceptor.cpp:
    * ACE/ace/SOCK_SEQPACK_Association.cpp:
    * ACE/ace/SString.h:
    * ACE/ace/Service_Gestalt.cpp:
    * ACE/ace/Sock_Connect.cpp:
    * ACE/ace/Svc_Conf_Lexer.cpp:
    * ACE/ace/TLI.cpp:
    * ACE/ace/UUID.cpp:
    * ACE/ace/config-win32-msvc-142.h:
    * ACE/apps/JAWS/clients/Caching/Locator_Request_Reply.cpp:
    * ACE/apps/JAWS/clients/Caching/URL_Properties.cpp:
    * ACE/apps/JAWS/server/JAWS_IO.cpp:
    * ACE/apps/gperf/src/Key_List.cpp:
    * ACE/bin/main2TMAIN.pl:
    * ACE/docs/exceptions.html:
    * ACE/examples/IPC_SAP/UPIPE_SAP/ex2.cpp:
    * ACE/examples/IPC_SAP/UPIPE_SAP/ex3.cpp:
    * ACE/examples/Reactor/WFMO_Reactor/Handle_Close.cpp:
    * ACE/examples/Reactor/WFMO_Reactor/Window_Messages.cpp:
    * ACE/examples/Threads/future1.cpp:
    * ACE/examples/Threads/future2.cpp:
    * ACE/examples/Web_Crawler/HTTP_URL.cpp:
    * ACE/include/makeinclude/platform_linux_icc.GNU:
    * ACE/netsvcs/lib/Name_Handler.cpp:
    * ACE/tests/CDR_File_Test.cpp:
    * ACE/tests/CDR_Test.cpp:
    * ACE/tests/Codecs_Test.cpp:
    * ACE/tests/Compiler_Features_09_Test.cpp:
    * ACE/tests/Conn_Test.cpp:
    * ACE/tests/Future_Set_Test.cpp:
    * ACE/tests/Future_Test.cpp:
    * ACE/tests/Log_Msg_Test.cpp:
    * ACE/tests/Logging_Strategy_Test.cpp:
    * ACE/tests/Message_Queue_Test_Ex.cpp:
    * ACE/tests/Reactor_Fairness_Test.cpp:
    * ACE/tests/Reactor_Performance_Test.cpp:
    * ACE/tests/Reactor_Timer_Test.cpp:
    * ACE/tests/Refcounted_Auto_Ptr_Test.cpp:
    * ACE/tests/SString_Test.cpp:
    * ACE/tests/UUID_Test.cpp:
    * TAO/docs/events_tutorial.html:
    * TAO/docs/tutorials/Quoter/Simple/ImprovedServer/index.html:
    * TAO/examples/Borland/ChatClientWnd.cpp:
    * TAO/examples/Borland/ChatClientWnd.h:
    * TAO/examples/Load_Balancing/Load_Balancer_i.cpp:
    * TAO/orbsvcs/orbsvcs/AV/SCTP_SEQ.h:
    * TAO/orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp:
    * TAO/orbsvcs/orbsvcs/HTIOP/HTIOP_Acceptor.cpp:
    * TAO/orbsvcs/orbsvcs/IFRService/AliasDef_i.cpp:
    * TAO/orbsvcs/orbsvcs/IFRService/ArrayDef_i.cpp:
    * TAO/orbsvcs/orbsvcs/IFRService/AttributeDef_i.cpp:
    * TAO/orbsvcs/orbsvcs/IFRService/ConstantDef_i.cpp:
    * TAO/orbsvcs/orbsvcs/IFRService/Contained_i.cpp:
    * TAO/orbsvcs/orbsvcs/IFRService/Container_i.cpp:
    * TAO/orbsvcs/orbsvcs/Log/RTEventLogFactory_i.cpp:
    * TAO/orbsvcs/orbsvcs/Naming/Persistent_Context_Index.cpp:
    * TAO/orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.cpp:
    * TAO/orbsvcs/orbsvcs/Naming/Storable_Naming_Context.cpp:
    * TAO/orbsvcs/orbsvcs/Naming/Storable_Naming_Context_Activator.cpp:
    * TAO/orbsvcs/orbsvcs/Naming/Transient_Naming_Context.cpp:
    * TAO/orbsvcs/orbsvcs/Notify/ETCL_Filter.cpp:
    * TAO/orbsvcs/orbsvcs/Notify/EventChannel.h:
    * TAO/orbsvcs/orbsvcs/Notify/EventChannelFactory.cpp:
    * TAO/orbsvcs/orbsvcs/Notify/EventChannelFactory.h:
    * TAO/orbsvcs/orbsvcs/Notify/Event_Manager.h:
    * TAO/orbsvcs/orbsvcs/Notify/MonitorControl/NotificationServiceMonitor_i.cpp:
    * TAO/orbsvcs/orbsvcs/Notify/Object.cpp:
    * TAO/orbsvcs/orbsvcs/Notify/ProxyConsumer.cpp:
    * TAO/orbsvcs/orbsvcs/Notify/ProxyConsumer.h:
    * TAO/orbsvcs/orbsvcs/Notify/RT_Builder.cpp:
    * TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredProxyPushConsumer.cpp:
    * TAO/orbsvcs/orbsvcs/Notify/ThreadPool_Task.h:
    * TAO/orbsvcs/orbsvcs/PortableGroup/Fragments_Cleanup_Strategy.cpp:
    * TAO/orbsvcs/orbsvcs/PortableGroup/GOA.cpp:
    * TAO/orbsvcs/orbsvcs/PortableGroup/PG_FactoryRegistry.cpp:
    * TAO/orbsvcs/orbsvcs/PortableGroup/PG_Group_List_Store.cpp:
    * TAO/orbsvcs/orbsvcs/PortableGroup/PG_Object_Group_Storable.cpp:
    * TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.cpp:
    * TAO/orbsvcs/performance-tests/RTEvent/Colocated_Roundtrip/driver.cpp:
    * TAO/orbsvcs/performance-tests/RTEvent/Federated_Roundtrip/client.cpp:
    * TAO/orbsvcs/performance-tests/RTEvent/Federated_Roundtrip/server.cpp:
    * TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Baseline/client.cpp:
    * TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Baseline/server.cpp:
    * TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Callback/client.cpp:
    * TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Callback/server.cpp:
    * TAO/orbsvcs/performance-tests/RTEvent/Roundtrip/server.cpp:
    * TAO/orbsvcs/performance-tests/RTEvent/lib/Control.cpp:
    * TAO/orbsvcs/performance-tests/RTEvent/lib/Low_Priority_Setup.cpp:
    * TAO/orbsvcs/performance-tests/RTEvent/lib/Low_Priority_Setup.h:
    * TAO/orbsvcs/performance-tests/RTEvent/lib/RTEC_Initializer.cpp:
    * TAO/tao/Acceptor_Registry.cpp:
    * TAO/tao/CSD_ThreadPool/CSD_TP_Collocated_Synch_Request.inl:
    * TAO/tao/DynamicAny/DynAnyUtils_T.cpp:
    * TAO/tao/Dynamic_TP/DTP_Thread_Pool.cpp:
    * TAO/tao/IIOP_Acceptor.cpp:
    * TAO/tao/IIOP_Connector.cpp:
    * TAO/tao/LocateRequest_Invocation.cpp:
    * TAO/tao/Messaging/ExceptionHolder_i.cpp:
    * TAO/tao/ORB_Core.cpp:
    * TAO/tao/PortableServer/Active_Object_Map.cpp:
    * TAO/tao/PortableServer/Object_Adapter.cpp:
    * TAO/tao/PortableServer/Root_POA.cpp:
    * TAO/tao/RTCORBA/Thread_Pool.cpp:
    * TAO/tao/Strategies/SCIOP_Acceptor.cpp:
    * TAO/tao/ZIOP/ZIOP_Service_Context_Handler.cpp:
    * TAO/tests/IOR_Endpoint_Hostnames/list_interfaces.cpp:
126 files changed:
ACE/ACEXML/common/HttpCharStream.cpp
ACE/ACEXML/common/URL_Addr.cpp
ACE/ACEXML/common/XML_Codecs.cpp
ACE/ACEXML/examples/SAXPrint/main.cpp
ACE/ACEXML/parser/parser/Parser.cpp
ACE/ACEXML/parser/parser/Parser.h
ACE/Kokyu/Default_Dispatcher_Impl.cpp
ACE/Kokyu/Kokyu_defs.h
ACE/Kokyu/tests/DSRT_MIF/MIF.cpp
ACE/ace/ACE.cpp
ACE/ace/Auto_Functor.h
ACE/ace/Auto_Ptr.cpp
ACE/ace/Auto_Ptr.h
ACE/ace/Auto_Ptr.inl
ACE/ace/CDR_Stream.cpp
ACE/ace/DLL_Manager.cpp
ACE/ace/Log_Msg.h
ACE/ace/Pagefile_Memory_Pool.cpp
ACE/ace/Proactor.cpp
ACE/ace/Refcounted_Auto_Ptr.h
ACE/ace/SOCK_SEQPACK_Acceptor.cpp
ACE/ace/SOCK_SEQPACK_Association.cpp
ACE/ace/SString.h
ACE/ace/Service_Gestalt.cpp
ACE/ace/Sock_Connect.cpp
ACE/ace/Svc_Conf_Lexer.cpp
ACE/ace/TLI.cpp
ACE/ace/UUID.cpp
ACE/ace/config-win32-msvc-142.h
ACE/apps/JAWS/clients/Caching/Locator_Request_Reply.cpp
ACE/apps/JAWS/clients/Caching/URL_Properties.cpp
ACE/apps/JAWS/server/JAWS_IO.cpp
ACE/apps/gperf/src/Key_List.cpp
ACE/bin/main2TMAIN.pl
ACE/docs/exceptions.html
ACE/examples/IPC_SAP/UPIPE_SAP/ex2.cpp
ACE/examples/IPC_SAP/UPIPE_SAP/ex3.cpp
ACE/examples/Reactor/WFMO_Reactor/Handle_Close.cpp
ACE/examples/Reactor/WFMO_Reactor/Window_Messages.cpp
ACE/examples/Threads/future1.cpp
ACE/examples/Threads/future2.cpp
ACE/examples/Web_Crawler/HTTP_URL.cpp
ACE/include/makeinclude/platform_linux_icc.GNU
ACE/netsvcs/lib/Name_Handler.cpp
ACE/tests/CDR_File_Test.cpp
ACE/tests/CDR_Test.cpp
ACE/tests/Codecs_Test.cpp
ACE/tests/Compiler_Features_09_Test.cpp
ACE/tests/Conn_Test.cpp
ACE/tests/Future_Set_Test.cpp
ACE/tests/Future_Test.cpp
ACE/tests/Log_Msg_Test.cpp
ACE/tests/Logging_Strategy_Test.cpp
ACE/tests/Message_Queue_Test_Ex.cpp
ACE/tests/Reactor_Fairness_Test.cpp
ACE/tests/Reactor_Performance_Test.cpp
ACE/tests/Reactor_Timer_Test.cpp
ACE/tests/Refcounted_Auto_Ptr_Test.cpp
ACE/tests/SString_Test.cpp
ACE/tests/UUID_Test.cpp
TAO/docs/events_tutorial.html
TAO/docs/tutorials/Quoter/Simple/ImprovedServer/index.html
TAO/examples/Borland/ChatClientWnd.cpp
TAO/examples/Borland/ChatClientWnd.h
TAO/examples/Load_Balancing/Load_Balancer_i.cpp
TAO/orbsvcs/orbsvcs/AV/SCTP_SEQ.h
TAO/orbsvcs/orbsvcs/Event/EC_ObserverStrategy.cpp
TAO/orbsvcs/orbsvcs/HTIOP/HTIOP_Acceptor.cpp
TAO/orbsvcs/orbsvcs/IFRService/AliasDef_i.cpp
TAO/orbsvcs/orbsvcs/IFRService/ArrayDef_i.cpp
TAO/orbsvcs/orbsvcs/IFRService/AttributeDef_i.cpp
TAO/orbsvcs/orbsvcs/IFRService/ConstantDef_i.cpp
TAO/orbsvcs/orbsvcs/IFRService/Contained_i.cpp
TAO/orbsvcs/orbsvcs/IFRService/Container_i.cpp
TAO/orbsvcs/orbsvcs/Log/RTEventLogFactory_i.cpp
TAO/orbsvcs/orbsvcs/Naming/Persistent_Context_Index.cpp
TAO/orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.cpp
TAO/orbsvcs/orbsvcs/Naming/Storable_Naming_Context.cpp
TAO/orbsvcs/orbsvcs/Naming/Storable_Naming_Context_Activator.cpp
TAO/orbsvcs/orbsvcs/Naming/Transient_Naming_Context.cpp
TAO/orbsvcs/orbsvcs/Notify/ETCL_Filter.cpp
TAO/orbsvcs/orbsvcs/Notify/EventChannel.h
TAO/orbsvcs/orbsvcs/Notify/EventChannelFactory.cpp
TAO/orbsvcs/orbsvcs/Notify/EventChannelFactory.h
TAO/orbsvcs/orbsvcs/Notify/Event_Manager.h
TAO/orbsvcs/orbsvcs/Notify/MonitorControl/NotificationServiceMonitor_i.cpp
TAO/orbsvcs/orbsvcs/Notify/Object.cpp
TAO/orbsvcs/orbsvcs/Notify/ProxyConsumer.cpp
TAO/orbsvcs/orbsvcs/Notify/ProxyConsumer.h
TAO/orbsvcs/orbsvcs/Notify/RT_Builder.cpp
TAO/orbsvcs/orbsvcs/Notify/Structured/StructuredProxyPushConsumer.cpp
TAO/orbsvcs/orbsvcs/Notify/ThreadPool_Task.h
TAO/orbsvcs/orbsvcs/PortableGroup/Fragments_Cleanup_Strategy.cpp
TAO/orbsvcs/orbsvcs/PortableGroup/GOA.cpp
TAO/orbsvcs/orbsvcs/PortableGroup/PG_FactoryRegistry.cpp
TAO/orbsvcs/orbsvcs/PortableGroup/PG_Group_List_Store.cpp
TAO/orbsvcs/orbsvcs/PortableGroup/PG_Object_Group_Storable.cpp
TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.cpp
TAO/orbsvcs/performance-tests/RTEvent/Colocated_Roundtrip/driver.cpp
TAO/orbsvcs/performance-tests/RTEvent/Federated_Roundtrip/client.cpp
TAO/orbsvcs/performance-tests/RTEvent/Federated_Roundtrip/server.cpp
TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Baseline/client.cpp
TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Baseline/server.cpp
TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Callback/client.cpp
TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Callback/server.cpp
TAO/orbsvcs/performance-tests/RTEvent/Roundtrip/server.cpp
TAO/orbsvcs/performance-tests/RTEvent/lib/Control.cpp
TAO/orbsvcs/performance-tests/RTEvent/lib/Low_Priority_Setup.cpp
TAO/orbsvcs/performance-tests/RTEvent/lib/Low_Priority_Setup.h
TAO/orbsvcs/performance-tests/RTEvent/lib/RTEC_Initializer.cpp
TAO/tao/Acceptor_Registry.cpp
TAO/tao/CSD_ThreadPool/CSD_TP_Collocated_Synch_Request.inl
TAO/tao/DynamicAny/DynAnyUtils_T.cpp
TAO/tao/Dynamic_TP/DTP_Thread_Pool.cpp
TAO/tao/IIOP_Acceptor.cpp
TAO/tao/IIOP_Connector.cpp
TAO/tao/LocateRequest_Invocation.cpp
TAO/tao/Messaging/ExceptionHolder_i.cpp
TAO/tao/ORB_Core.cpp
TAO/tao/PortableServer/Active_Object_Map.cpp
TAO/tao/PortableServer/Object_Adapter.cpp
TAO/tao/PortableServer/Root_POA.cpp
TAO/tao/RTCORBA/Thread_Pool.cpp
TAO/tao/Strategies/SCIOP_Acceptor.cpp
TAO/tao/ZIOP/ZIOP_Service_Context_Handler.cpp
TAO/tests/IOR_Endpoint_Hostnames/list_interfaces.cpp