1 /*=========================================================================
3 Program: KWSys - Kitware System Library
4 Module: $RCSfile: kwsys_stl.hxx.in,v $
6 Copyright (c) Kitware, Inc., Insight Consortium. All rights reserved.
7 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notices for more information.
13 =========================================================================*/
14 #ifndef @KWSYS_NAMESPACE@_stl_@KWSYS_STL_HEADER@
15 #define @KWSYS_NAMESPACE@_stl_@KWSYS_STL_HEADER@
17 #include <@KWSYS_NAMESPACE@/Configure.hxx>
19 /* Avoid warnings in MSVC standard headers. */
21 # pragma warning (push, 1)
22 # pragma warning (disable: 4702)
23 # pragma warning (disable: 4786)
26 /* The HP standard library defines the functor "times" instead of
27 "multiplies" as specified by C++98 20.3.2 for backward
28 compatibility with earlier specifications. Defining this macro
29 fixes this behavior. The name "times" also conflicts with the
30 function declared in sys/times.h on that platform, so we must do
31 this as a work-around anyway. */
32 #if defined(__HP_aCC) && !defined(__HPACC_USING_MULTIPLIES_IN_FUNCTIONAL)
33 # define __HPACC_USING_MULTIPLIES_IN_FUNCTIONAL
34 # define @KWSYS_NAMESPACE@_DEFINED___HPACC_USING_MULTIPLIES_IN_FUNCTIONAL
37 /* Include the real header. */
38 #include <@KWSYS_STL_HEADER@>
41 #if defined(@KWSYS_NAMESPACE@_DEFINED___HPACC_USING_MULTIPLIES_IN_FUNCTIONAL)
42 # undef @KWSYS_NAMESPACE@_DEFINED___HPACC_USING_MULTIPLIES_IN_FUNCTIONAL
43 # undef __HPACC_USING_MULTIPLIES_IN_FUNCTIONAL
50 @KWSYS_STL_HEADER_EXTRA@