mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
4377f6e603
[SF.12: Prefer the quoted form of #include for files relative to the including file and the angle bracket form everywhere else](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rs-incform) Additionally changed #include order in `span` so that all `span_ext` is in the GSL include block and not in the STL include block. Fixes issues #1025. Co-authored-by: Werner Henze <w.henze@avm.de>
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
///////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
|
|
//
|
|
// This code is licensed under the MIT License (MIT).
|
|
//
|
|
// 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.
|
|
//
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef GSL_GSL_H
|
|
#define GSL_GSL_H
|
|
|
|
#include "algorithm" // copy
|
|
#include "assert" // Ensures/Expects
|
|
#include "byte" // byte
|
|
#include "pointers" // owner, not_null
|
|
#include "span" // span
|
|
#include "string_span" // zstring, string_span, zstring_builder...
|
|
#include "util" // finally()/narrow_cast()...
|
|
|
|
#ifdef __cpp_exceptions
|
|
#include "narrow" // narrow()
|
|
#endif
|
|
|
|
#endif // GSL_GSL_H
|