14#ifndef RANGES_V3_VIEW_ADDRESSOF_HPP
15#define RANGES_V3_VIEW_ADDRESSOF_HPP
22#include <range/v3/utility/addressof.hpp>
26#include <range/v3/detail/prologue.hpp>
40 constexpr V * operator()(V & value)
const noexcept
42 return detail::addressof(value);
47 template(
typename Rng)(
49 std::is_lvalue_reference<range_reference_t<Rng>>::value)
50 constexpr auto CPP_auto_fun(
operator())(Rng && rng)(
const)
52 return transform(all(
static_cast<Rng &&
>(rng)), take_address{})
63#include <range/v3/detail/epilogue.hpp>
The viewable_range concept.
RANGES_INLINE_VARIABLE(detail::to_container_fn< detail::from_range< std::vector > >, to_vector) template< template< typename... > class ContT > auto to(RANGES_HIDDEN_DETAIL(detail
For initializing a container of the specified type with the elements of an Range.
Definition: conversion.hpp:399
Definition: addressof.hpp:35