libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
derived_inh_t< Mdl, Del > Struct Template Referencefinal
Inheritance diagram for derived_inh_t< Mdl, Del >:
[legend]
Collaboration diagram for derived_inh_t< Mdl, Del >:
[legend]

Public Types

typedef Del< derived_inh_tdeleter_t
 
using base_t = base_inh_t< Mdl >
 
using lock_traits = typename base_t::lock_traits
 
using deleter_t = Del< derived_inh_t >
 
typedef Del< derived_inh_tdeleter_t
 
using base_t = base_inh_t< Mdl >
 
using lock_traits = typename base_t::lock_traits
 
using deleter_t = Del< derived_inh_t >
 
- Public Types inherited from base_inh_t< Mdl >
typedef api_lock_traits< platform_api, Mdl > lock_traits
 
typedef sp_counter_itf_type< long > base
 
typedef base atomic_ctr_t
 
using lock_traits = api_lock_traits< platform_api, Mdl >
 
using deleter_t = default_delete< base_inh_t >
 
typedef api_lock_traits< platform_api, Mdl > lock_traits
 
typedef sp_counter_itf_type< long > base
 
typedef base atomic_ctr_t
 
using lock_traits = api_lock_traits< platform_api, Mdl >
 
using deleter_t = default_delete< base_inh_t >
 
- Public Types inherited from jmmcg::LIBJMMCG_VER_NAMESPACE::sp_counter_itf_type< long >
typedef long value_type
 
typedef default_delete< sp_counter_itf_typedeleter_t
 The default deletion method for objects that inherit from this intrusively-counted type, which is just heap-deletion, if the objects are heap-allocated. More...
 

Public Member Functions

 derived_inh_t (int i) noexcept(true)
 
 ~derived_inh_t () noexcept(true)
 
int val () const noexcept(true) override
 
void deleter () override
 Call the correct deleter_t object to delete the object. More...
 
bool __fastcall operator< (derived_inh_t const &a) const noexcept(true)
 
 derived_inh_t (int i) noexcept(true)
 
int val () const noexcept(true) override
 
void deleter () override
 Call the correct deleter_t object to delete the object. More...
 
bool __fastcall operator< (derived_inh_t const &a) const noexcept(true)
 
 derived_inh_t (int i) noexcept(true)
 
 ~derived_inh_t () noexcept(true)
 
int val () const noexcept(true) override
 
void deleter () override
 Call the correct deleter_t object to delete the object. More...
 
bool __fastcall operator< (derived_inh_t const &a) const noexcept(true)
 
 derived_inh_t (int i) noexcept(true)
 
int val () const noexcept(true) override
 
void deleter () override
 Call the correct deleter_t object to delete the object. More...
 
bool __fastcall operator< (derived_inh_t const &a) const noexcept(true)
 
- Public Member Functions inherited from base_inh_t< Mdl >
virtual ~base_inh_t () noexcept(true)
 
virtual ~base_inh_t () noexcept(true)
 
virtual ~base_inh_t () noexcept(true)
 
virtual ~base_inh_t () noexcept(true)
 
- Public Member Functions inherited from jmmcg::LIBJMMCG_VER_NAMESPACE::sp_counter_itf_type< long >
virtual ~sp_counter_itf_type ()
 
virtual value_type sp_count () const noexcept(true)
 
virtual value_type sp_acquire () noexcept(true)
 
virtual bool sp_release () noexcept(true)
 
virtual bool sp_noop_ctr () const noexcept(true)
 
virtual bool __fastcall operator< (const value_type) const noexcept(true)
 
virtual bool __fastcall operator> (const value_type) const noexcept(true)
 
virtual bool __fastcall operator>= (const value_type) const noexcept(true)
 
constexpr bool FORCE_INLINE operator== (const value_type v) const noexcept(true)
 
virtual tstring sp_to_string () const noexcept(false)
 

Public Attributes

const int val_
 

Additional Inherited Members

- Static Public Attributes inherited from jmmcg::LIBJMMCG_VER_NAMESPACE::sp_counter_itf_type< long >
static constexpr ppd::generic_traits::memory_access_modes memory_access_mode
 
- Protected Member Functions inherited from jmmcg::LIBJMMCG_VER_NAMESPACE::sp_counter_itf_type< long >
constexpr sp_counter_itf_type () noexcept(true)
 

Detailed Description

template<class Mdl, template< class > class Del>
struct derived_inh_t< Mdl, Del >

Definition at line 78 of file shared_ptr.cpp.

Member Typedef Documentation

◆ base_t [1/2]

template<class Mdl , template< class > class Del>
using derived_inh_t< Mdl, Del >::base_t = base_inh_t<Mdl>

Definition at line 94 of file unique_ptr.cpp.

◆ base_t [2/2]

template<class Mdl , template< class > class Del>
using derived_inh_t< Mdl, Del >::base_t = base_inh_t<Mdl>

Definition at line 94 of file unique_ptr.cpp.

◆ deleter_t [1/4]

template<class Mdl , template< class > class Del>
typedef Del<derived_inh_t> derived_inh_t< Mdl, Del >::deleter_t

Definition at line 79 of file shared_ptr.cpp.

◆ deleter_t [2/4]

template<class Mdl , template< class > class Del>
typedef Del<derived_inh_t> derived_inh_t< Mdl, Del >::deleter_t

Definition at line 79 of file shared_ptr.cpp.

◆ deleter_t [3/4]

template<class Mdl , template< class > class Del>
using derived_inh_t< Mdl, Del >::deleter_t = Del<derived_inh_t>

Definition at line 96 of file unique_ptr.cpp.

◆ deleter_t [4/4]

template<class Mdl , template< class > class Del>
using derived_inh_t< Mdl, Del >::deleter_t = Del<derived_inh_t>

Definition at line 96 of file unique_ptr.cpp.

◆ lock_traits [1/2]

template<class Mdl , template< class > class Del>
using derived_inh_t< Mdl, Del >::lock_traits = typename base_t::lock_traits

Definition at line 95 of file unique_ptr.cpp.

◆ lock_traits [2/2]

template<class Mdl , template< class > class Del>
using derived_inh_t< Mdl, Del >::lock_traits = typename base_t::lock_traits

Definition at line 95 of file unique_ptr.cpp.

Constructor & Destructor Documentation

◆ derived_inh_t() [1/4]

template<class Mdl , template< class > class Del>
derived_inh_t< Mdl, Del >::derived_inh_t ( int  i)
inlineexplicitnoexcept

Definition at line 83 of file shared_ptr.cpp.

References derived_inh_t< Mdl, Del >::val_.

◆ ~derived_inh_t() [1/2]

template<class Mdl , template< class > class Del>
derived_inh_t< Mdl, Del >::~derived_inh_t ( )
inlinenoexcept

Definition at line 85 of file shared_ptr.cpp.

◆ derived_inh_t() [2/4]

template<class Mdl , template< class > class Del>
derived_inh_t< Mdl, Del >::derived_inh_t ( int  i)
inlineexplicitnoexcept

Definition at line 100 of file unique_ptr.cpp.

References derived_inh_t< Mdl, Del >::val_.

◆ derived_inh_t() [3/4]

template<class Mdl , template< class > class Del>
derived_inh_t< Mdl, Del >::derived_inh_t ( int  i)
inlineexplicitnoexcept

Definition at line 83 of file shared_ptr.cpp.

◆ ~derived_inh_t() [2/2]

template<class Mdl , template< class > class Del>
derived_inh_t< Mdl, Del >::~derived_inh_t ( )
inlinenoexcept

Definition at line 85 of file shared_ptr.cpp.

◆ derived_inh_t() [4/4]

template<class Mdl , template< class > class Del>
derived_inh_t< Mdl, Del >::derived_inh_t ( int  i)
inlineexplicitnoexcept

Definition at line 100 of file unique_ptr.cpp.

Member Function Documentation

◆ deleter() [1/4]

template<class Mdl , template< class > class Del>
void derived_inh_t< Mdl, Del >::deleter ( )
inlineoverridevirtual

Call the correct deleter_t object to delete the object.

Note that we are calling the dtor on the object from within a virtual function, which is allowed. (The converse is not, of course.)

Reimplemented from base_inh_t< Mdl >.

Definition at line 91 of file shared_ptr.cpp.

◆ deleter() [2/4]

template<class Mdl , template< class > class Del>
void derived_inh_t< Mdl, Del >::deleter ( )
inlineoverridevirtual

Call the correct deleter_t object to delete the object.

Note that we are calling the dtor on the object from within a virtual function, which is allowed. (The converse is not, of course.)

Reimplemented from base_inh_t< Mdl >.

Definition at line 91 of file shared_ptr.cpp.

◆ deleter() [3/4]

template<class Mdl , template< class > class Del>
void derived_inh_t< Mdl, Del >::deleter ( )
inlineoverridevirtual

Call the correct deleter_t object to delete the object.

Note that we are calling the dtor on the object from within a virtual function, which is allowed. (The converse is not, of course.)

Reimplemented from base_inh_t< Mdl >.

Definition at line 107 of file unique_ptr.cpp.

◆ deleter() [4/4]

template<class Mdl , template< class > class Del>
void derived_inh_t< Mdl, Del >::deleter ( )
inlineoverridevirtual

Call the correct deleter_t object to delete the object.

Note that we are calling the dtor on the object from within a virtual function, which is allowed. (The converse is not, of course.)

Reimplemented from base_inh_t< Mdl >.

Definition at line 107 of file unique_ptr.cpp.

◆ operator<() [1/4]

template<class Mdl , template< class > class Del>
bool __fastcall derived_inh_t< Mdl, Del >::operator< ( derived_inh_t< Mdl, Del > const &  a) const
inlinenoexcept

Definition at line 95 of file shared_ptr.cpp.

◆ operator<() [2/4]

template<class Mdl , template< class > class Del>
bool __fastcall derived_inh_t< Mdl, Del >::operator< ( derived_inh_t< Mdl, Del > const &  a) const
inlinenoexcept

Definition at line 95 of file shared_ptr.cpp.

◆ operator<() [3/4]

template<class Mdl , template< class > class Del>
bool __fastcall derived_inh_t< Mdl, Del >::operator< ( derived_inh_t< Mdl, Del > const &  a) const
inlinenoexcept

Definition at line 111 of file unique_ptr.cpp.

◆ operator<() [4/4]

template<class Mdl , template< class > class Del>
bool __fastcall derived_inh_t< Mdl, Del >::operator< ( derived_inh_t< Mdl, Del > const &  a) const
inlinenoexcept

Definition at line 111 of file unique_ptr.cpp.

◆ val() [1/4]

template<class Mdl , template< class > class Del>
int derived_inh_t< Mdl, Del >::val ( ) const
inlineoverridevirtualnoexcept

Implements base_inh_t< Mdl >.

Definition at line 87 of file shared_ptr.cpp.

References derived_inh_t< Mdl, Del >::val_.

◆ val() [2/4]

template<class Mdl , template< class > class Del>
int derived_inh_t< Mdl, Del >::val ( ) const
inlineoverridevirtualnoexcept

Implements base_inh_t< Mdl >.

Definition at line 87 of file shared_ptr.cpp.

◆ val() [3/4]

template<class Mdl , template< class > class Del>
int derived_inh_t< Mdl, Del >::val ( ) const
inlineoverridevirtualnoexcept

Implements base_inh_t< Mdl >.

Definition at line 103 of file unique_ptr.cpp.

References derived_inh_t< Mdl, Del >::val_.

◆ val() [4/4]

template<class Mdl , template< class > class Del>
int derived_inh_t< Mdl, Del >::val ( ) const
inlineoverridevirtualnoexcept

Implements base_inh_t< Mdl >.

Definition at line 103 of file unique_ptr.cpp.

Member Data Documentation

◆ val_

template<class Mdl , template< class > class Del>
const int derived_inh_t< Mdl, Del >::val_

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