00001 /* ///////////////////////////////////////////////////////////////////////// 00002 * File: stlsoft/functional/function_adaptors.hpp (originally ::SynesisStd) 00003 * 00004 * Purpose: Contains the stlsoft::mem_fun and stlsoft::ptr_fun calling 00005 * convention-aware function adaptors. 00006 * 00007 * Created: 13th June 1999 00008 * Updated: 10th August 2009 00009 * 00010 * Home: http://stlsoft.org/ 00011 * 00012 * Copyright (c) 1999-2009, Matthew Wilson and Synesis Software 00013 * All rights reserved. 00014 * 00015 * Redistribution and use in source and binary forms, with or without 00016 * modification, are permitted provided that the following conditions are met: 00017 * 00018 * - Redistributions of source code must retain the above copyright notice, this 00019 * list of conditions and the following disclaimer. 00020 * - Redistributions in binary form must reproduce the above copyright notice, 00021 * this list of conditions and the following disclaimer in the documentation 00022 * and/or other materials provided with the distribution. 00023 * - Neither the name(s) of Matthew Wilson and Synesis Software nor the names of 00024 * any contributors may be used to endorse or promote products derived from 00025 * this software without specific prior written permission. 00026 * 00027 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 00028 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 00029 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 00030 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 00031 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 00032 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 00033 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 00034 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 00035 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 00036 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 00037 * POSSIBILITY OF SUCH DAMAGE. 00038 * 00039 * ////////////////////////////////////////////////////////////////////// */ 00040 00041 00050 #ifndef STLSOFT_INCL_STLSOFT_FUNCTIONAL_HPP_FUNCTION_ADAPTORS 00051 #define STLSOFT_INCL_STLSOFT_FUNCTIONAL_HPP_FUNCTION_ADAPTORS 00052 00053 #ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION 00054 # define STLSOFT_VER_STLSOFT_FUNCTIONAL_HPP_FUNCTION_ADAPTORS_MAJOR 4 00055 # define STLSOFT_VER_STLSOFT_FUNCTIONAL_HPP_FUNCTION_ADAPTORS_MINOR 0 00056 # define STLSOFT_VER_STLSOFT_FUNCTIONAL_HPP_FUNCTION_ADAPTORS_REVISION 2 00057 # define STLSOFT_VER_STLSOFT_FUNCTIONAL_HPP_FUNCTION_ADAPTORS_EDIT 59 00058 #endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */ 00059 00060 /* ///////////////////////////////////////////////////////////////////////// 00061 * Includes 00062 */ 00063 00064 #ifndef STLSOFT_INCL_STLSOFT_H_STLSOFT 00065 # include <stlsoft/stlsoft.h> 00066 #endif /* !STLSOFT_INCL_STLSOFT_H_STLSOFT */ 00067 00068 #ifndef STLSOFT_INCL_STLSOFT_FUNCTIONAL_HPP_FUNCTION_POINTER_ADAPTORS 00069 # include <stlsoft/functional/function_pointer_adaptors.hpp> 00070 #endif /* !STLSOFT_INCL_STLSOFT_FUNCTIONAL_HPP_FUNCTION_POINTER_ADAPTORS */ 00071 00072 #if !defined(STLSOFT_COMPILER_IS_GCC) || \ 00073 __GNUC__ > 3 || \ 00074 ( __GNUC__ == 3 && \ 00075 __GNUC_MINOR__ >= 3) 00076 # ifndef STLSOFT_INCL_STLSOFT_FUNCTIONAL_HPP_METHOD_ADAPTORS 00077 # include <stlsoft/functional/method_adaptors.hpp> 00078 # endif /* !STLSOFT_INCL_STLSOFT_FUNCTIONAL_HPP_METHOD_ADAPTORS */ 00079 #endif /* compiler */ 00080 #ifndef STLSOFT_INCL_STLSOFT_FUNCTIONAL_HPP_FUNCTION_POINTER_ADAPTORS 00081 # include <stlsoft/functional/procedure_adaptors.hpp> 00082 #endif /* !STLSOFT_INCL_STLSOFT_FUNCTIONAL_HPP_FUNCTION_POINTER_ADAPTORS */ 00083 00084 /* ////////////////////////////////////////////////////////////////////// */ 00085 00086 #endif /* !STLSOFT_INCL_STLSOFT_FUNCTIONAL_HPP_FUNCTION_ADAPTORS */ 00087 00088 /* ///////////////////////////// end of file //////////////////////////// */