mirror of
https://github.com/boostorg/optional.git
synced 2025-07-29 12:07:21 +02:00
Primary template optional<> does not handle references
This commit is contained in:
@ -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 ;
|
||||
|
Reference in New Issue
Block a user