-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
339 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
include/boost/filesystem/detail/type_traits/conjunction.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/* | ||
* Distributed under the Boost Software License, Version 1.0. | ||
* (See accompanying file LICENSE_1_0.txt or copy at | ||
* https://www.boost.org/LICENSE_1_0.txt) | ||
* | ||
* Copyright (c) 2024 Andrey Semashev | ||
*/ | ||
/*! | ||
* \file filesystem/detail/type_traits/conjunction.hpp | ||
* | ||
* This header contains definition of \c conjunction type trait. | ||
*/ | ||
|
||
#ifndef BOOST_FILESYSTEM_DETAIL_TYPE_TRAITS_CONJUNCTION_HPP_INCLUDED_ | ||
#define BOOST_FILESYSTEM_DETAIL_TYPE_TRAITS_CONJUNCTION_HPP_INCLUDED_ | ||
|
||
#include <type_traits> | ||
#include <boost/filesystem/config.hpp> | ||
|
||
#if (defined(__cpp_lib_logical_traits) && (__cpp_lib_logical_traits >= 201510l)) || \ | ||
(defined(BOOST_MSSTL_VERSION) && (BOOST_MSSTL_VERSION >= 140) && (_MSC_FULL_VER >= 190023918) && (BOOST_CXX_VERSION >= 201703l)) | ||
|
||
namespace boost { | ||
namespace filesystem { | ||
namespace detail { | ||
|
||
using std::conjunction; | ||
|
||
} // namespace detail | ||
} // namespace filesystem | ||
} // namespace boost | ||
|
||
#else | ||
|
||
#include <boost/type_traits/conjunction.hpp> | ||
|
||
namespace boost { | ||
namespace filesystem { | ||
namespace detail { | ||
|
||
using boost::conjunction; | ||
|
||
} // namespace detail | ||
} // namespace filesystem | ||
} // namespace boost | ||
|
||
#endif | ||
|
||
#endif // BOOST_FILESYSTEM_DETAIL_TYPE_TRAITS_CONJUNCTION_HPP_INCLUDED_ |
49 changes: 49 additions & 0 deletions
49
include/boost/filesystem/detail/type_traits/disjunction.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/* | ||
* Distributed under the Boost Software License, Version 1.0. | ||
* (See accompanying file LICENSE_1_0.txt or copy at | ||
* https://www.boost.org/LICENSE_1_0.txt) | ||
* | ||
* Copyright (c) 2024 Andrey Semashev | ||
*/ | ||
/*! | ||
* \file filesystem/detail/type_traits/disjunction.hpp | ||
* | ||
* This header contains definition of \c disjunction type trait. | ||
*/ | ||
|
||
#ifndef BOOST_FILESYSTEM_DETAIL_TYPE_TRAITS_DISJUNCTION_HPP_INCLUDED_ | ||
#define BOOST_FILESYSTEM_DETAIL_TYPE_TRAITS_DISJUNCTION_HPP_INCLUDED_ | ||
|
||
#include <type_traits> | ||
#include <boost/filesystem/config.hpp> | ||
|
||
#if (defined(__cpp_lib_logical_traits) && (__cpp_lib_logical_traits >= 201510l)) || \ | ||
(defined(BOOST_MSSTL_VERSION) && (BOOST_MSSTL_VERSION >= 140) && (_MSC_FULL_VER >= 190023918) && (BOOST_CXX_VERSION >= 201703l)) | ||
|
||
namespace boost { | ||
namespace filesystem { | ||
namespace detail { | ||
|
||
using std::disjunction; | ||
|
||
} // namespace detail | ||
} // namespace filesystem | ||
} // namespace boost | ||
|
||
#else | ||
|
||
#include <boost/type_traits/disjunction.hpp> | ||
|
||
namespace boost { | ||
namespace filesystem { | ||
namespace detail { | ||
|
||
using boost::disjunction; | ||
|
||
} // namespace detail | ||
} // namespace filesystem | ||
} // namespace boost | ||
|
||
#endif | ||
|
||
#endif // BOOST_FILESYSTEM_DETAIL_TYPE_TRAITS_DISJUNCTION_HPP_INCLUDED_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/* | ||
* Distributed under the Boost Software License, Version 1.0. | ||
* (See accompanying file LICENSE_1_0.txt or copy at | ||
* https://www.boost.org/LICENSE_1_0.txt) | ||
* | ||
* Copyright (c) 2024 Andrey Semashev | ||
*/ | ||
/*! | ||
* \file filesystem/detail/type_traits/negation.hpp | ||
* | ||
* This header contains definition of \c negation type trait. | ||
*/ | ||
|
||
#ifndef BOOST_FILESYSTEM_DETAIL_TYPE_TRAITS_NEGATION_HPP_INCLUDED_ | ||
#define BOOST_FILESYSTEM_DETAIL_TYPE_TRAITS_NEGATION_HPP_INCLUDED_ | ||
|
||
#include <type_traits> | ||
#include <boost/filesystem/config.hpp> | ||
|
||
#if (defined(__cpp_lib_logical_traits) && (__cpp_lib_logical_traits >= 201510l)) || \ | ||
(defined(BOOST_MSSTL_VERSION) && (BOOST_MSSTL_VERSION >= 140) && (_MSC_FULL_VER >= 190023918) && (BOOST_CXX_VERSION >= 201703l)) | ||
|
||
namespace boost { | ||
namespace filesystem { | ||
namespace detail { | ||
|
||
using std::negation; | ||
|
||
} // namespace detail | ||
} // namespace filesystem | ||
} // namespace boost | ||
|
||
#else | ||
|
||
#include <boost/type_traits/negation.hpp> | ||
|
||
namespace boost { | ||
namespace filesystem { | ||
namespace detail { | ||
|
||
using boost::negation; | ||
|
||
} // namespace detail | ||
} // namespace filesystem | ||
} // namespace boost | ||
|
||
#endif | ||
|
||
#endif // BOOST_FILESYSTEM_DETAIL_TYPE_TRAITS_NEGATION_HPP_INCLUDED_ |
Oops, something went wrong.