swift
Classes | Namespaces | Functions
optional.h File Reference

Go to the source code of this file.

Classes

class  swift::misc::Optional< T >
 Own implementation of std::optional. More...
 

Namespaces

 swift::misc
 Free functions in swift::misc.
 

Functions

template<typename T >
void swift::misc::swap (Optional< T > &a, Optional< T > &b) noexcept(std::is_nothrow_swappable_v< T >)
 Efficient swap for two Optional objects.