Lumiera  0.pre.03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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

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

Definition at line 112 of file multifact.hpp.

using BareType = RawType *

Definition at line 113 of file multifact.hpp.

Definition at line 114 of file multifact.hpp.

Member Function Documentation

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: