[optional.ref.expos] (original) (raw)

22 General utilities library [utilities]

22.5 Optional objects [optional]

22.5.4 Partial specialization of optional for reference types [optional.optional.ref]

22.5.4.9 Exposition only helper functions [optional.ref.expos]

🔗

template<class U> constexpr void _convert-ref-init-val_(U&& u); // _exposition only_

1

#

Effects: Creates a variable r as if by T& r(std​::​forward<U>(u));and then initializes val with addressof(r).