Reference wrappers for incomplete types.
|
| template<typename Type> |
| fcppt::reference< Type const > | fcppt::make_cref (Type const &_ref) noexcept |
| | Convenience function to create const references.
|
| template<typename Type> |
| fcppt::reference< Type > | fcppt::make_ref (Type &_ref) noexcept |
| | Convenience function to create references.
|
| template<typename T> |
| bool | fcppt::operator== (fcppt::reference< T > const &_a, fcppt::reference< T > const &_b) noexcept |
| | Compares two references for equality.
|
| template<typename T> |
| bool | fcppt::operator!= (fcppt::reference< T > const &_a, fcppt::reference< T > const &_b) noexcept |
| | Compares two references for inequality.
|
| template<typename T> |
| bool | fcppt::operator< (fcppt::reference< T > const &_a, fcppt::reference< T > const &_b) noexcept |
| | Compares two references lexicographically.
|
| template<typename T, typename Ch, typename Traits> |
| std::basic_ostream< Ch, Traits > & | fcppt::operator<< (std::basic_ostream< Ch, Traits > &_stream, fcppt::reference< T > const &_ref) |
| | Outputs a reference wrapper to a stream.
|
template<typename Base, typename Type>
requires fcppt::type_traits::is_base_of<std::remove_cv_t<Base>, std::remove_cv_t<Type>>::value |
| fcppt::reference< Base > | fcppt::reference_to_base (fcppt::reference< Type > const _ref) noexcept |
| | Converts a reference to a base class.
|
template<typename Type>
requires (!std::is_const_v<Type>) |
| fcppt::reference< Type const > | fcppt::reference_to_const (fcppt::reference< Type > const _ref) noexcept |
| | Converts a reference to a const reference.
|