constructs a new non-view object from an input range
More...
The overloads of the range conversion function construct a new non-view object from a source range as its first argument by calling a constructor taking a range, a vccc::from_range_t tagged ranged constructor,a constructor taking an iterator-sentinel pair, or by back inserting each element of the source range into the arguments-constructed object.
Example
| vccc::ranges::to<std::vector>();
constexpr VCCC_INLINE_OR_STATIC detail::iota_niebloid iota
Definition: iota_view.hpp:539
constexpr VCCC_INLINE_OR_STATIC detail::take_niebloid take
Definition: take.hpp:177
constexpr VCCC_INLINE_OR_STATIC detail::transform_niebloid transform
Definition: transform.hpp:61
- See also
- std::ranges::to
|
| template<typename C , typename R , typename... Args, std::enable_if_t< conjunction< input_range< R >, negation< view< C > >>::value, int > = 0> |
| constexpr std::enable_if_t<(detail::ranges_to_1_tag< C, R, Args... >::value > 0), C > | to (R &&r, Args &&... args) |
| | Constructs an object of type C from the elements of r More...
|
| |
| template<typename C , typename... Args, std::enable_if_t< conjunction< detail::to_check_arg< Args... >, view< C >>::value==false, int > = 0> |
| constexpr detail::to_adaptor_closure< C, std::decay_t< Args >... > | to (Args &&... args) |
| | Returns a perfect forwarding call wrapper that is also a RangeAdaptorClosureObject More...
|
| |
◆ to() [1/2]
| constexpr detail::to_adaptor_closure<C, std::decay_t<Args>...> vccc::ranges::to |
( |
Args &&... |
args | ) |
|
|
constexpr |
◆ to() [2/2]
| constexpr std::enable_if_t<(detail::ranges_to_1_tag<C, R, Args...>::value > 0), C> vccc::ranges::to |
( |
R && |
r, |
|
|
Args &&... |
args |
|
) |
| |
|
constexpr |