![]() |
VCCC
2024.05
VisualCamp Common C++ library
|
helper template for specifying the constraints on algorithms that accept projections More...
projected
is used only to constrain algorithms that accept callable objects and projections, and hence its operator*()
is not defined.
vccc::projected
meets the requirements of C++ 26, but without using constraints user must check its validity with vccc::projectable<I, Proj>
before using vccc::projected
Typedefs | |
template<typename I , typename Proj > | |
using | projected = typename detail::projected_impl< I, Proj >::type |
template<typename I , typename Proj > | |
using | projectable = has_typename_type< detail::projected_impl< I, Proj > > |
Test if expression vccc::projected<I, Proj> is valid in an unqualified context. More... | |
using projectable = has_typename_type<detail::projected_impl<I, Proj> > |
using projected = typename detail::projected_impl<I, Proj>::type |