FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
template<typename T >
template< typename T > FB::variant::variant ( const T &  x)
inline

Templated constructor to allow any arbitrary type.

Parameters
xThe value

Definition at line 214 of file variant.h.

References assign().

214  {
215  assign(x);
216  }
variant & assign(const variant &x)
Assigns a new value from another variant.
Definition: variant.h:236

Here is the call graph for this function: