SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::utils::dependencies::detail::BorrowedValue< T > Struct Template Reference

#include <resource.hpp>

Public Types

using Target = T
 

Public Member Functions

const T & get () const
 Borrowing does not extend the lifetime of the source.
 

Public Attributes

std::reference_wrapper< const T > value
 

Member Typedef Documentation

◆ Target

template<typename T>
using serif::utils::dependencies::detail::BorrowedValue< T >::Target = T

Member Function Documentation

◆ get()

template<typename T>
const T & serif::utils::dependencies::detail::BorrowedValue< T >::get ( ) const
inlinenodiscard

Borrowing does not extend the lifetime of the source.

Member Data Documentation

◆ value

template<typename T>
std::reference_wrapper<const T> serif::utils::dependencies::detail::BorrowedValue< T >::value

The documentation for this struct was generated from the following file: