Closed as not planned
Description
Feature gate: #![feature(const_closure_impls)]
This is a tracking issue for const
forwarding impls for Fn
family traits.
Public API
// core::ops
impl<A, F: ?Sized> const Fn<A> for &F
where
F: ~const Fn<A>,
impl<A, F: ?Sized> const FnMut<A> for &F
where
F: ~const Fn<A>,
impl<A, F: ?Sized> const FnOnce<A> for &F
where
F: ~const Fn<A>,
impl<A, F: ?Sized> const FnMut<A> for &mut F
where
F: ~const FnMut<A>,
impl<A, F: ?Sized> const FnOnce<A> for &mut F
where
F: ~const FnMut<A>,
Steps / History
- Implementation: Make it possible to have
const
impl
s forIterator
#92433 - Final comment period (FCP)
- Stabilization PR
Unresolved Questions
- None yet.