ponder 3.2
C++ reflection library
ponder::policy::ReturnInternalRef Struct Reference

Call return internal reference policy. More...

#include <type.hpp>

Static Public Attributes

static constexpr ReturnKind kind = ReturnKind::InternalRef
 The policy enum kind.
 

Detailed Description

Call return internal reference policy.

When added to a function declaration this sets the call return policy to internal reference. References returned by the function are returned as references values. This is useful for declaring things like singletons, which return values that we do not want to copy.


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