-
Notifications
You must be signed in to change notification settings - Fork 448
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added global "variant_cast" method Added 4 overloads of the method "variant_cast" In order to move values out, to return values by reference or to return a pointer to the underlying values, when the type does match: template<class T> T variant_cast(variant&& operand); template<class T> T variant_cast(variant& operand); template<class T> T variant_cast(const variant& operand); template<class T> const T* variant_cast(const variant* operand) RTTR_NOEXCEPT; template<class T> T* variant_cast(variant* operand) RTTR_NOEXCEPT; Additionally: - added non-const version of variant::get_value() - fixed copy-right year in root CMakeLists.txt file Fixes #108
- Loading branch information
Showing
8 changed files
with
511 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.