Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

minmax.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  * Copyright (c) 2004 Carnegie Mellon University.  All Rights Reserved.
00003  *
00004  * Use of the Lemur Toolkit for Language Modeling and Information Retrieval
00005  * is subject to the terms of the software license set forth in the LICENSE
00006  * file included with this software, and also available at
00007  * http://www.lemurproject.org/license.html
00008  *
00009  *==========================================================================
00010 */
00011 
00015 #ifndef MINMAX_HPP
00016 #define MINMAX_HPP
00017 
00018 #if _MSC_VER == 1200
00019 // this should be VC++ 6.0 
00020 #  define _MAXIM std::_cpp_max
00021 #  define _MINIM std::_cpp_min  
00022 #else
00023 #  define _MAXIM std::max
00024 #  define _MINIM std::min
00025 #endif
00026 
00027 #endif

Generated on Tue Jun 15 11:02:54 2010 for Lemur by doxygen 1.3.4