You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
591 B
27 lines
591 B
// -*-c++-*-
|
|
// vim: set ft=cpp:
|
|
|
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
|
#pragma once
|
|
|
|
#include <iterator> // IWYU pragma: export
|
|
|
|
#include <cm/bits/container_helpers.hxx> // IWYU pragma: export
|
|
|
|
namespace cm {
|
|
|
|
#if __cplusplus >= 201402L || defined(_MSVC_LANG) && _MSVC_LANG >= 201402L
|
|
using std::make_reverse_iterator;
|
|
|
|
#else
|
|
template <class Iter>
|
|
std::reverse_iterator<Iter> make_reverse_iterator(Iter it)
|
|
{
|
|
return std::reverse_iterator<Iter>(it);
|
|
}
|
|
|
|
#endif
|
|
|
|
} // namespace cm
|