Primary template optional<> does not handle references

This commit is contained in:
Andrzej Krzemienski
2016-02-13 00:46:41 +01:00
parent e24ab26874
commit b5b8414c06
10 changed files with 1235 additions and 193 deletions

View File

@ -20,6 +20,7 @@ namespace boost {
template<class T> class optional ;
// This forward is needed to refer to namespace scope swap from the member swap
template<class T> void swap ( optional<T>& , optional<T>& );
template<class T> struct optional_swap_should_use_default_constructor ;