|
Mundy: Multibody Nonlocal Dynamics Version of the Day
|
Own or view a value using a simple normalized storage policy. More...
#include <storage.hpp>
Public Types | |
| using | input_type = T |
| using | stored_type = impl::storage_type_t<T> |
Public Member Functions | |
| constexpr | storage ()=default |
| constexpr | storage (const storage &)=default |
| constexpr | storage (storage &&)=default |
| constexpr storage & | operator= (const storage &)=default |
| constexpr storage & | operator= (storage &&)=default |
| template<class U> | |
| constexpr | storage (U &&value) noexcept(std::is_nothrow_constructible_v< stored_type, decltype(impl::storage_get(std::declval< U && >()))>) |
| constexpr decltype(auto) | get () noexcept |
| constexpr decltype(auto) | get () const noexcept |
Storage policy for T:
| using mundy::storage< T >::input_type = T |
| using mundy::storage< T >::stored_type = impl::storage_type_t<T> |
|
constexprdefault |
|
constexprdefault |
|
constexprdefault |
|
inlineexplicitconstexprnoexcept |
|
constexprdefault |
|
constexprdefault |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |