API Reference > Namespaces > not_std Namespace > Classes > optional Template > optional Methods > optional::swap Method
optional::swap Method
Syntax
C++
void swap(optional& rhs);
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.