Lumiera  0.pre.03
BuildRefcountPtr< RAW > Struct Template Reference

#include "lib/multifact.hpp"


template<typename RAW>
struct lib::factory::BuildRefcountPtr< RAW >

Wrapper taking ownership, by wrapping into smart-ptr.

Definition at line 110 of file multifact.hpp.

Public Types

using BareType = RawType *
using RawType = typename std::remove_pointer< RAW >::type
using ResultType = std::shared_ptr< RawType >

Public Member Functions

template<class FUN , typename... ARGS>
ResultType wrap (FUN create, ARGS &&... args)

Member Typedef Documentation

◆ RawType

using RawType = typename std::remove_pointer<RAW>::type

Definition at line 112 of file multifact.hpp.

◆ BareType

using BareType = RawType *

Definition at line 113 of file multifact.hpp.

◆ ResultType

Definition at line 114 of file multifact.hpp.

Member Function Documentation

◆ wrap()

ResultType wrap ( FUN  create,
ARGS &&...  args 

Definition at line 118 of file multifact.hpp.

+ Collaboration diagram for BuildRefcountPtr< RAW >:

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