Skip to content

Function ref_cast

function ref_cast(U &) meta

template <typename T, typename U>
KFR_INTRINSIC constexpr static T& ref_cast(U& ptr) noexcept { … }

Template parameters
T target reference type
U source reference type

Fully qualified name: kfr::ref_cast(U &)

Declared at meta.hpp:1646

Function ref_cast

function ref_cast(const U &) meta

template <typename T, typename U>
KFR_INTRINSIC constexpr static const T& ref_cast(const U& ptr) noexcept { … }

Reinterprets a const reference of type

U as a const reference of type T

Fully qualified name: kfr::ref_cast(const U &)

Declared at meta.hpp:1653

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.