Go to the source code of this file.
Classes | |
| class | eagine::optional_reference_wrapper< T > |
Optional reference to an instance of type T. More... | |
Namespaces | |
| eagine | |
| Common code is placed in this namespace. | |
Functions | |
| template<typename T > | |
| static auto | eagine::extract (optional_reference_wrapper< T > ref) noexcept -> T & |
| Overload of extract for optional_reference_wrapper. | |
| template<typename T > | |
| static auto | eagine::extract_or (optional_reference_wrapper< T > ref, T &fallback) noexcept -> T & |
| Overload of extract_or for optional_reference_wrapper. | |
| template<typename T , typename F > | |
| static auto | eagine::extract_or (optional_reference_wrapper< T > ref, F &&fallback) -> std::enable_if_t< std::is_convertible_v< F, T >, T > |
| Overload of extract_or for optional_reference_wrapper. | |
Copyright Matus Chochlik. Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt