Enable a constructor when VARIANT can construct from TYPE.

Synopsis

Declared in <bslstl_variant.h>

#define BSLSTL_VARIANT_DECLARE_IF_CONSTRUCTS_FROM(VARIANT, TYPE)

Description

This component‐private macro is used as a constraint in function declarations which require the specified VARIANT to be constructible from the specified TYPE.

Parameters

Name

Description

VARIANT

variant specialization under consideration

TYPE

candidate alternative or converting type

Created with MrDocs