#include "SortByPointers.h"
|
static auto | make (Coll &coll) |
|
template<typename Coll, typename = void>
struct util::details::PointerVectorMaker< Coll, typename >
Definition at line 122 of file SortByPointers.h.
template<typename Coll , typename = void>
Definition at line 124 of file SortByPointers.h.
References util::begin(), util::end(), and n.
Referenced by util::makePointerVector().
129 using pointer_type = decltype(&*
begin(coll));
130 using ptr_coll_t = std::vector<pointer_type>;
132 auto const n = coll.size();
140 begin(coll),
end(coll), std::back_inserter(ptrs), [](
auto& obj) {
return &obj; });
decltype(auto) constexpr end(T &&obj)
ADL-aware version of std::end.
decltype(auto) constexpr begin(T &&obj)
ADL-aware version of std::begin.
The documentation for this struct was generated from the following file: