BloombergLP::bdlar::RefUtil::wrap

Make SimpleTypeRef to the specified "simple" object.

Synopsis

Declared in <bdlar_refutil.h>

template<class t_TYPE>
static
SimpleTypeRef
wrap(t_TYPE& object)
requires IsSimple<t_TYPE>::value;

Return Value

a SimpleTypeRef for object

Parameters

NameDescription
objectsimple-type object to wrap