VCCC  2024.05
VisualCamp Common C++ library
to.hpp File Reference
#include <iterator>
#include <tuple>
#include <type_traits>
#include <utility>
#include "vccc/__algorithm/ranges/copy.hpp"
#include "vccc/__core/inline_or_static.hpp"
#include "vccc/__concepts/constructible_from.hpp"
#include "vccc/__concepts/derived_from.hpp"
#include "vccc/__concepts/same_as.hpp"
#include "vccc/__iterator/iter_key_t.hpp"
#include "vccc/__iterator/iter_val_t.hpp"
#include "vccc/__iterator/iterator_traits/cxx20_iterator_traits.hpp"
#include "vccc/__iterator/iterator_tag.hpp"
#include "vccc/__ranges/begin.hpp"
#include "vccc/__ranges/end.hpp"
#include "vccc/__ranges/from_range.hpp"
#include "vccc/__ranges/input_range.hpp"
#include "vccc/__ranges/iterator_t.hpp"
#include "vccc/__ranges/range_adaptor_closure.hpp"
#include "vccc/__ranges/range_key_t.hpp"
#include "vccc/__ranges/range_mapped_t.hpp"
#include "vccc/__ranges/range_size_t.hpp"
#include "vccc/__ranges/sentinel_t.hpp"
#include "vccc/__ranges/size.hpp"
#include "vccc/__ranges/sized_range.hpp"
#include "vccc/__ranges/view.hpp"
#include "vccc/__ranges/views/transform.hpp"
#include "vccc/__type_traits/conjunction.hpp"
#include "vccc/__type_traits/detail/tag.hpp"
#include "vccc/__type_traits/detail/return_category.hpp"
#include "vccc/__type_traits/disjunction.hpp"
#include "vccc/__type_traits/has_typename_type.hpp"
#include "vccc/__type_traits/is_referenceable.hpp"
#include "vccc/__type_traits/is_specialization.hpp"
#include "vccc/__type_traits/negation.hpp"
#include "vccc/__type_traits/template_arity.hpp"
#include "vccc/__type_traits/void_t.hpp"
#include "vccc/__utility/in_place.hpp"
#include "vccc/__utility/type_sequence.hpp"

Go to the source code of this file.

Namespaces

 vccc
 
 vccc::ranges
 

Functions

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<template< typename... > class C, typename R , typename... Args, std::enable_if_t< input_range< R >::value, int > = 0>
constexpr detail::DEDUCE_EXPR_CATEGORY< C, R, Args... >::return_type to (R &&r, Args &&... args)
 Constructs an object of deduced type 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...
 
template<template< typename... > class C, typename... Args, std::enable_if_t< detail::to_check_arg< Args... >::value, int > = 0>
constexpr detail::to_adaptor_closure< detail::template_type_holder< C >, std::decay_t< Args >... > to (Args &&... args)
 Returns a perfect forwarding call wrapper with deduced return type that is also a RangeAdaptorClosureObject More...