LLDB mainline
NonNullSharedPtr.h File Reference
#include <memory>
#include <utility>

Go to the source code of this file.

Classes

class  lldb_private::NonNullSharedPtr< T >
 A non-nullable shared pointer that always holds a valid object. More...

Namespaces

namespace  lldb_private
 A class that represents a running process on the host machine.

Functions

template<typename T>
void swap (lldb_private::NonNullSharedPtr< T > &lhs, lldb_private::NonNullSharedPtr< T > &rhs)
 Specialized swap function for NonNullSharedPtr to enable argument-dependent lookup (ADL) and efficient swapping.

Function Documentation

◆ swap()

template<typename T>
void swap ( lldb_private::NonNullSharedPtr< T > & lhs,
lldb_private::NonNullSharedPtr< T > & rhs )

Specialized swap function for NonNullSharedPtr to enable argument-dependent lookup (ADL) and efficient swapping.

Definition at line 76 of file NonNullSharedPtr.h.

References lldb_private::NonNullSharedPtr< T >::swap().

Referenced by AppendHexValue().