SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
seqan3::detail::proxy_reference< value_t > Class Template Reference

The same as value_t & but it is default constructible and is re-assignable. More...

#include <seqan3/alignment/pairwise/edit_distance_unbanded.hpp>

+ Inheritance diagram for seqan3::detail::proxy_reference< value_t >:

Public Member Functions

value_t & get () const noexcept
 Get the stored reference.
 
 operator value_t & () const noexcept
 Get the stored reference.
 
Constructors, destructor and assignment
 proxy_reference () noexcept=default
 Defaulted.
 
 proxy_reference (proxy_reference const &) noexcept=default
 Defaulted.
 
 proxy_reference (proxy_reference &&) noexcept=default
 Defaulted.
 
proxy_referenceoperator= (proxy_reference const &) noexcept=default
 Defaulted.
 
proxy_referenceoperator= (proxy_reference &&) noexcept=default
 Defaulted.
 
 ~proxy_reference ()=default
 Defaulted.
 
 proxy_reference (value_t &t) noexcept
 Use the lvalue t as the stored reference.
 
 proxy_reference (value_t &&)=delete
 Deleted.
 
template<typename other_value_t >
requires std::convertible_to<other_value_t, value_t>
proxy_referenceoperator= (other_value_t &&u) noexcept
 Assign a value to the stored reference.
 

Private Attributes

value_t * ptr {nullptr}
 The stored reference.
 

Detailed Description

template<typename value_t>
class seqan3::detail::proxy_reference< value_t >

The same as value_t & but it is default constructible and is re-assignable.

Template Parameters
value_tThe value type of the reference.

The documentation for this class was generated from the following file:
Hide me