ant
A2 ant: class-based analysis framework
ant::std_ext::cc_shared_ptr< T > Struct Template Reference

#include <shared_ptr_container.h>

Public Types

using element_type = const T
 

Public Member Functions

 cc_shared_ptr () noexcept=default
 
 cc_shared_ptr (const cc_shared_ptr &) noexcept=default
 
cc_shared_ptroperator= (const cc_shared_ptr &) noexcept=default
 
 cc_shared_ptr (cc_shared_ptr &&) noexcept=default
 
cc_shared_ptroperator= (cc_shared_ptr &&) noexcept=default
 
 cc_shared_ptr (std::nullptr_t) noexcept
 
 cc_shared_ptr (const std::shared_ptr< T > &ptr_) noexcept
 
const T & operator* () const noexcept
 
const T * operator-> () const
 
bool operator== (const cc_shared_ptr &other) const noexcept
 
bool operator!= (const cc_shared_ptr &other) const noexcept
 
bool operator< (const cc_shared_ptr &other) const noexcept
 
 operator bool () const noexcept
 
template<class Archive >
void serialize (Archive &archive)
 

Member Typedef Documentation

◆ element_type

template<class T>
using ant::std_ext::cc_shared_ptr< T >::element_type = const T

Constructor & Destructor Documentation

◆ cc_shared_ptr() [1/5]

template<class T>
ant::std_ext::cc_shared_ptr< T >::cc_shared_ptr ( )
defaultnoexcept

◆ cc_shared_ptr() [2/5]

template<class T>
ant::std_ext::cc_shared_ptr< T >::cc_shared_ptr ( const cc_shared_ptr< T > &  )
defaultnoexcept

◆ cc_shared_ptr() [3/5]

template<class T>
ant::std_ext::cc_shared_ptr< T >::cc_shared_ptr ( cc_shared_ptr< T > &&  )
defaultnoexcept

◆ cc_shared_ptr() [4/5]

template<class T>
ant::std_ext::cc_shared_ptr< T >::cc_shared_ptr ( std::nullptr_t  )
inlinenoexcept

◆ cc_shared_ptr() [5/5]

template<class T>
ant::std_ext::cc_shared_ptr< T >::cc_shared_ptr ( const std::shared_ptr< T > &  ptr_)
inlinenoexcept

Member Function Documentation

◆ operator bool()

template<class T>
ant::std_ext::cc_shared_ptr< T >::operator bool ( ) const
inlineexplicitnoexcept

◆ operator!=()

template<class T>
bool ant::std_ext::cc_shared_ptr< T >::operator!= ( const cc_shared_ptr< T > &  other) const
inlinenoexcept

◆ operator*()

template<class T>
const T& ant::std_ext::cc_shared_ptr< T >::operator* ( ) const
inlinenoexcept

◆ operator->()

template<class T>
const T* ant::std_ext::cc_shared_ptr< T >::operator-> ( ) const
inline

◆ operator<()

template<class T>
bool ant::std_ext::cc_shared_ptr< T >::operator< ( const cc_shared_ptr< T > &  other) const
inlinenoexcept

◆ operator=() [1/2]

template<class T>
cc_shared_ptr& ant::std_ext::cc_shared_ptr< T >::operator= ( const cc_shared_ptr< T > &  )
defaultnoexcept

◆ operator=() [2/2]

template<class T>
cc_shared_ptr& ant::std_ext::cc_shared_ptr< T >::operator= ( cc_shared_ptr< T > &&  )
defaultnoexcept

◆ operator==()

template<class T>
bool ant::std_ext::cc_shared_ptr< T >::operator== ( const cc_shared_ptr< T > &  other) const
inlinenoexcept

◆ serialize()

template<class T>
template<class Archive >
void ant::std_ext::cc_shared_ptr< T >::serialize ( Archive &  archive)
inline

The documentation for this struct was generated from the following file: