зеркало из https://github.com/microsoft/STL.git
229 строки
10 KiB
Plaintext
229 строки
10 KiB
Plaintext
Microsoft C++ Standard Library
|
|
|
|
Copyright (c) Microsoft Corporation
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
|
|
|
|
---- LLVM Exceptions to the Apache 2.0 License ----
|
|
|
|
As an exception, if, as a result of your compiling your source code, portions
|
|
of this Software are embedded into an Object form of such source code, you
|
|
may redistribute such embedded portions in such Object form without complying
|
|
with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
|
|
|
|
In addition, if you combine or link compiled forms of this Software with
|
|
software that is licensed under the GPLv2 ("Combined Software") and if a
|
|
court of competent jurisdiction determines that the patent provision (Section
|
|
3), the indemnity provision (Section 9) or other Section of the License
|
|
conflicts with the conditions of the GPLv2, you may retroactively and
|
|
prospectively choose to deem waived or otherwise exclude such Section(s) of
|
|
the License, but only in their entirety and only with respect to the Combined
|
|
Software.
|
|
|
|
----------------------------------------------------
|
|
|
|
In addition, certain files include the notices provided below.
|
|
|
|
|
|
|
|
// Copyright 2018 Ulf Adams
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
// Boost Software License - Version 1.0 - August 17th, 2003
|
|
|
|
// Permission is hereby granted, free of charge, to any person or organization
|
|
// obtaining a copy of the software and accompanying documentation covered by
|
|
// this license (the "Software") to use, reproduce, display, distribute,
|
|
// execute, and transmit the Software, and to prepare derivative works of the
|
|
// Software, and to permit third-parties to whom the Software is furnished to
|
|
// do so, all subject to the following:
|
|
|
|
// The copyright notices in the Software and this entire statement, including
|
|
// the above license grant, this restriction and the following disclaimer,
|
|
// must be included in all copies of the Software, in whole or in part, and
|
|
// all derivative works of the Software, unless such copies or derivative
|
|
// works are solely in the form of machine-executable object code generated by
|
|
// a source language processor.
|
|
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
|
// SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
|
// FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
|
// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
// DEALINGS IN THE SOFTWARE.
|
|
|
|
----------------------
|
|
|
|
/*
|
|
* This file is derived from software bearing the following
|
|
* restrictions:
|
|
*
|
|
* (c) Copyright William E. Kempf 2001
|
|
*
|
|
* 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. William E. Kempf makes no representations
|
|
* about the suitability of this software for any purpose.
|
|
* It is provided "as is" without express or implied warranty.
|
|
*/
|
|
|
|
----------------------
|
|
|
|
// NOTE:
|
|
// The conversion data in this header has been derived by Dinkumware
|
|
// from a Unicode, Inc. file with the preamble reproduced below, under
|
|
// the grant of right described in that preamble. This header contains
|
|
// no other material from that file.
|
|
//
|
|
// Copyright (c) 1994-2011 Unicode, Inc. All Rights reserved.
|
|
//
|
|
// This file is provided as-is by Unicode, Inc. (The Unicode Consortium).
|
|
// No claims are made as to fitness for any particular purpose. No
|
|
// warranties of any kind are expressed or implied. The recipient
|
|
// agrees to determine applicability of information provided. If this
|
|
// file has been provided on magnetic media by Unicode, Inc., the sole
|
|
// remedy for any claim will be exchange of defective media within 90
|
|
// days of receipt.
|
|
//
|
|
// Unicode, Inc. hereby grants the right to freely use the information
|
|
// supplied in this file in the creation of products supporting the
|
|
// Unicode Standard, and to make copies of this file in any form for
|
|
// internal or external distribution as long as this notice remains
|
|
// attached.
|
|
|
|
----------------------
|
|
|
|
/// NOTE:
|
|
// The conversion data in this header has been derived by Dinkumware
|
|
// from a Unicode, Inc. file with the preamble reproduced below, under
|
|
// the grant of right described in that preamble. This header contains
|
|
// no other material from that file.
|
|
//
|
|
// Copyright (c) 1991-1994 Unicode, Inc. All Rights reserved.
|
|
//
|
|
// This file is provided as-is by Unicode, Inc. (The Unicode Consortium).
|
|
// No claims are made as to fitness for any particular purpose. No
|
|
// warranties of any kind are expressed or implied. The recipient
|
|
// agrees to determine applicability of information provided. If this
|
|
// file has been provided on magnetic media by Unicode, Inc., the sole
|
|
// remedy for any claim will be exchange of defective media within 90
|
|
// days of receipt.
|
|
//
|
|
// Recipient is granted the right to make copies in any form for
|
|
// internal distribution and to freely use the information supplied
|
|
// in the creation of products supporting Unicode.
|
|
|
|
----------------------
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
----------------------
|
|
|
|
// Copyright (c) 2012 - present, Victor Zverovich
|
|
//
|
|
// Permission is hereby granted, free of charge, to any person obtaining
|
|
// a copy of this software and associated documentation files (the
|
|
// "Software"), to deal in the Software without restriction, including
|
|
// without limitation the rights to use, copy, modify, merge, publish,
|
|
// distribute, sublicense, and/or sell copies of the Software, and to
|
|
// permit persons to whom the Software is furnished to do so, subject to
|
|
// the following conditions:
|
|
//
|
|
// The above copyright notice and this permission notice shall be
|
|
// included in all copies or substantial portions of the Software.
|
|
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
//
|
|
// --- Optional exception to the license ---
|
|
//
|
|
// As an exception, if, as a result of your compiling your source code, portions
|
|
// of this Software are embedded into a machine-executable object form of such
|
|
// source code, you may redistribute such embedded portions in such object form
|
|
// without including the above copyright and permission notices.
|
|
|
|
----------------------
|
|
|
|
// UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
|
|
//
|
|
// See Terms of Use <https://www.unicode.org/copyright.html>
|
|
// for definitions of Unicode Inc.'s Data Files and Software.
|
|
//
|
|
// NOTICE TO USER: Carefully read the following legal agreement.
|
|
// BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S
|
|
// DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"),
|
|
// YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
|
|
// TERMS AND CONDITIONS OF THIS AGREEMENT.
|
|
// IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE
|
|
// THE DATA FILES OR SOFTWARE.
|
|
//
|
|
// COPYRIGHT AND PERMISSION NOTICE
|
|
//
|
|
// Copyright (c) 1991-2022 Unicode, Inc. All rights reserved.
|
|
// Distributed under the Terms of Use in https://www.unicode.org/copyright.html.
|
|
//
|
|
// Permission is hereby granted, free of charge, to any person obtaining
|
|
// a copy of the Unicode data files and any associated documentation
|
|
// (the "Data Files") or Unicode software and any associated documentation
|
|
// (the "Software") to deal in the Data Files or Software
|
|
// without restriction, including without limitation the rights to use,
|
|
// copy, modify, merge, publish, distribute, and/or sell copies of
|
|
// the Data Files or Software, and to permit persons to whom the Data Files
|
|
// or Software are furnished to do so, provided that either
|
|
// (a) this copyright and permission notice appear with all copies
|
|
// of the Data Files or Software, or
|
|
// (b) this copyright and permission notice appear in associated
|
|
// Documentation.
|
|
//
|
|
// THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
// ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
|
// WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
// NONINFRINGEMENT OF THIRD PARTY RIGHTS.
|
|
// IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
|
|
// NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
|
|
// DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
|
// DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
// TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
// PERFORMANCE OF THE DATA FILES OR SOFTWARE.
|
|
//
|
|
// Except as contained in this notice, the name of a copyright holder
|
|
// shall not be used in advertising or otherwise to promote the sale,
|
|
// use or other dealings in these Data Files or Software without prior
|
|
// written authorization of the copyright holder.
|
|
|
|
----------------------
|
|
|
|
/* Written in 2018 by David Blackman and Sebastiano Vigna (vigna@acm.org)
|
|
|
|
To the extent possible under law, the author has dedicated all copyright
|
|
and related and neighboring rights to this software to the public domain
|
|
worldwide. This software is distributed without any warranty.
|
|
|
|
See <http://creativecommons.org/publicdomain/zero/1.0/>. */
|