зеркало из https://github.com/microsoft/STL.git
27 строки
602 B
C++
27 строки
602 B
C++
// iso646.h standard header
|
|
|
|
// Copyright (c) Microsoft Corporation.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
#pragma once
|
|
#ifndef _ISO646
|
|
#define _ISO646
|
|
#include <yvals_core.h>
|
|
#if _STL_COMPILER_PREPROCESSOR
|
|
|
|
#if !defined(__cplusplus) || defined(_MSC_EXTENSIONS)
|
|
#define and &&
|
|
#define and_eq &=
|
|
#define bitand &
|
|
#define bitor |
|
|
#define compl ~
|
|
#define not !
|
|
#define not_eq !=
|
|
#define or ||
|
|
#define or_eq |=
|
|
#define xor ^
|
|
#define xor_eq ^=
|
|
#endif // !defined(__cplusplus) || defined(_MSC_EXTENSIONS)
|
|
#endif // _STL_COMPILER_PREPROCESSOR
|
|
#endif // _ISO646
|