Beyond the C++ Standard Library: An Introduction to Boost by Björn Karlsson

Beyond the C++ Standard Library: An Introduction to Boost by Björn Karlsson

Author:Björn Karlsson
Language: eng
Format: epub, pdf
Tags: C, Programming Languages, Electronic books, Computers, C++ (Computer program language), General, C plus plus (Computer program language), Computer programming
ISBN: 9780321133540
Publisher: Addison-Wesley
Published: 2006-05-15T07:00:00+00:00


Members

variant();

This constructor default constructs the first type of the set of types for the variant. This means that the first type used when declaring the variant type must be default constructible, or else the variant type itself cannot be default constructed. This constructor propagates any exceptions thrown from the first type's constructor.

variant(const variant& other);

The copy constructor copies the current value of other, propagating any exceptions thrown from other's current type's copy constructor.

template <typename T> variant(const T& operand);



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.