Skip to content

Function derived_cast

function derived_cast(U *) meta

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

Template parameters
T target derived pointee type
U source base pointee type

Fully qualified name: kfr::derived_cast(U *)

Declared at meta.hpp:1689

Function derived_cast

function derived_cast(const U *) meta

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

Down-casts a const pointer from

U* to T* using static_cast

Fully qualified name: kfr::derived_cast(const U *)

Declared at meta.hpp:1696

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