Files
2025-10-25 03:02:53 +03:00

712 B
Raw Permalink Blame History

[optional.ref.expos]

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)); and then initializes val with addressof(r).