BloombergLP::bdlar::RefUtil::wrap

wrap overloads

Synopses

Declared in <bdlar_refutil.h>

Make ArrayRef to the specified "array" object.

template<class t_TYPE>
static
ArrayRef
wrap(t_TYPE& object)
requires IsArray<t_TYPE>::value;
» more...

Make ChoiceRef to the specified "choice" object.

template<class t_TYPE>
static
ChoiceRef
wrap(t_TYPE& object)
requires IsChoice<t_TYPE>::value;
» more...

Make CustomizedTypeRef to the specified "customized type" object.

template<class t_TYPE>
static
CustomizedTypeRef
wrap(t_TYPE& object)
requires IsCustomized<t_TYPE>::value;
» more...

Make EnumRef to the specified "enumeration" object.

template<class t_TYPE>
static
EnumRef
wrap(t_TYPE& object)
requires IsEnum<t_TYPE>::value;
» more...

Make NullableValueRef to the specified "nullable value" object.

template<class t_TYPE>
static
NullableValueRef
wrap(t_TYPE& object)
requires IsNullable<t_TYPE>::value;
» more...

Make SequenceRef to the specified "sequence" object.

template<class t_TYPE>
static
SequenceRef
wrap(t_TYPE& object)
requires IsSequence<t_TYPE>::value;
» more...

Make SimpleTypeRef to the specified "simple" object.

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

Make ArrayConstRef to the specified "array" object.

template<class t_TYPE>
static
ArrayConstRef
wrap(t_TYPE const& object)
requires IsArray<t_TYPE>::value;
» more...

Make ChoiceConstRef to the specified "choice" object.

template<class t_TYPE>
static
ChoiceConstRef
wrap(t_TYPE const& object)
requires IsChoice<t_TYPE>::value;
» more...

Make CustomizedTypeConstRef to the specified "customized type" object.

template<class t_TYPE>
static
CustomizedTypeConstRef
wrap(t_TYPE const& object)
requires IsCustomized<t_TYPE>::value;
» more...

Make EnumConstRef to the specified "enumeration" object.

template<class t_TYPE>
static
EnumConstRef
wrap(t_TYPE const& object)
requires IsEnum<t_TYPE>::value;
» more...

Make NullableValueConstRef to the specified "nullable value" object.

template<class t_TYPE>
static
NullableValueConstRef
wrap(t_TYPE const& object)
requires IsNullable<t_TYPE>::value;
» more...

Make SequenceConstRef to the specified "sequence" object.

template<class t_TYPE>
static
SequenceConstRef
wrap(t_TYPE const& object)
requires IsSequence<t_TYPE>::value;
» more...

Make SimpleTypeConstRef to the specified "simple" object.

template<class t_TYPE>
static
SimpleTypeConstRef
wrap(t_TYPE const& object)
requires IsSimple<t_TYPE>::value;
» more...

Return Value

  • an ArrayRef for object
  • a ChoiceRef for object
  • a CustomizedTypeRef for object
  • an EnumRef for object
  • a NullableValueRef for object
  • a SequenceRef for object
  • a SimpleTypeRef for object
  • an ArrayConstRef for object
  • a ChoiceConstRef for object
  • a CustomizedTypeConstRef for object
  • an EnumConstRef for object
  • a NullableValueConstRef for object
  • a SequenceConstRef for object
  • a SimpleTypeConstRef for object

Parameters

NameDescription
objectarray object to wrap