| // -*- C++ -*- | |
| //===----------------------------------------------------------------------===// | |
| // | |
| // 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 | |
| // | |
| //===----------------------------------------------------------------------===// | |
| _LIBCPP_BEGIN_NAMESPACE_STD | |
| template <class _Iterator> | |
| concept permutable = | |
| forward_iterator<_Iterator> && indirectly_movable_storable<_Iterator, _Iterator> && | |
| indirectly_swappable<_Iterator, _Iterator>; | |
| _LIBCPP_END_NAMESPACE_STD | |