ponder 3.2
C++ reflection library
ponder::policy Namespace Reference

Ponder policy options. More...

Classes

struct  Parameter
 
struct  ReturnCopy
 Call return copy policy. More...
 
struct  ReturnInternalRef
 Call return internal reference policy. More...
 
struct  ReturnMultiple
 Return multiple values. More...
 

Enumerations

enum  ReturnKind { NoReturn, Copy, InternalRef, Multiple }
 Enumeration of the kinds of return policy.
 
enum  ParameterKind { ParameterKind::PassByValue, ParameterKind::PassByReference }
 Enumeration of the kinds of parameter type. More...
 

Detailed Description

Ponder policy options.

Enumeration Type Documentation

◆ ParameterKind

Enumeration of the kinds of parameter type.

Parameters are the types in a function definition. Arguments are what you pass to them.

Enumerator
PassByValue 

Pass by value, e.g. foo(T)

PassByReference 

Pass by reference, e.g. foo(const T*, const U&)