Path: blob/main/contrib/llvm-project/libcxx/include/__iterator/permutable.h
35233 views
// -*- C++ -*-1//===----------------------------------------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//89#ifndef _LIBCPP___ITERATOR_PERMUTABLE_H10#define _LIBCPP___ITERATOR_PERMUTABLE_H1112#include <__config>13#include <__iterator/concepts.h>14#include <__iterator/iter_swap.h>1516#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)17# pragma GCC system_header18#endif1920_LIBCPP_BEGIN_NAMESPACE_STD2122#if _LIBCPP_STD_VER >= 202324template <class _Iterator>25concept permutable =26forward_iterator<_Iterator> && indirectly_movable_storable<_Iterator, _Iterator> &&27indirectly_swappable<_Iterator, _Iterator>;2829#endif // _LIBCPP_STD_VER >= 203031_LIBCPP_END_NAMESPACE_STD3233#endif // _LIBCPP___ITERATOR_PERMUTABLE_H343536