algobase.h
资源名称:STL_doc.rar [点击查看]
上传用户:nizebo
上传日期:2022-05-14
资源大小:882k
文件大小:2k
源码类别:
STL
开发平台:
Visual C++
- /*
- *
- * Copyright (c) 1994
- * Hewlett-Packard Company
- *
- * Permission to use, copy, modify, distribute and sell this software
- * and its documentation for any purpose is hereby granted without fee,
- * provided that the above copyright notice appear in all copies and
- * that both that copyright notice and this permission notice appear
- * in supporting documentation. Hewlett-Packard Company makes no
- * representations about the suitability of this software for any
- * purpose. It is provided "as is" without express or implied warranty.
- *
- * Copyright (c) 1996,1997
- * Silicon Graphics Computer Systems, Inc.
- *
- * Permission to use, copy, modify, distribute and sell this software
- * and its documentation for any purpose is hereby granted without fee,
- * provided that the above copyright notice appear in all copies and
- * that both that copyright notice and this permission notice appear
- * in supporting documentation. Silicon Graphics makes no
- * representations about the suitability of this software for any
- * purpose. It is provided "as is" without express or implied warranty.
- */
- #ifndef __SGI_STL_ALGOBASE_H
- #define __SGI_STL_ALGOBASE_H
- #ifndef __SGI_STL_PAIR_H
- #include <pair.h>
- #endif
- #ifndef __SGI_STL_ITERATOR_H
- #include <iterator.h>
- #endif
- #ifndef __SGI_STL_INTERNAL_ALGOBASE_H
- #include <stl_algobase.h>
- #endif
- #ifndef __SGI_STL_INTERNAL_UNINITIALIZED_H
- #include <stl_uninitialized.h>
- #endif
- #ifdef __STL_USE_NAMESPACES
- // Names from stl_algobase.h
- using __STD::iter_swap;
- using __STD::swap;
- using __STD::min;
- using __STD::max;
- using __STD::copy;
- using __STD::copy_backward;
- using __STD::copy_n;
- using __STD::fill;
- using __STD::fill_n;
- using __STD::mismatch;
- using __STD::equal;
- using __STD::lexicographical_compare;
- using __STD::lexicographical_compare_3way;
- // Names from stl_uninitialized.h
- using __STD::uninitialized_copy;
- using __STD::uninitialized_copy_n;
- using __STD::uninitialized_fill;
- using __STD::uninitialized_fill_n;
- #endif /* __STL_USE_NAMESPACES */
- #endif /* __SGI_STL_ALGOBASE_H */
- // Local Variables:
- // mode:C++
- // End: