libER 0.1.4.2
ELDEN RING API library
Loading...
Searching...
No Matches
Typedefs | Functions
from_shared_ptr.hpp File Reference

from::shared_ptr based on std::shared_ptr More...

#include <concepts>
#include <memory/from_allocator.hpp>
#include <memory/from_delay_delete.hpp>
#include <memory>

Go to the source code of this file.

Typedefs

template<typename T >
using from::shared_ptr = std::shared_ptr< T >
 std::shared_ptr with from::allocator and from::delay_delete.
 

Functions

template<typename T , typename AllocatorTag = from::default_allocator_tag, typename... Args>
from::shared_ptr< T > from::make_shared (Args &&... args)
 from::shared_ptr make_shared implementation.
 

Detailed Description

from::shared_ptr based on std::shared_ptr

Copyright 2024 libER ELDEN RING API library

Function Documentation

◆ make_shared()

template<typename T , typename AllocatorTag = from::default_allocator_tag, typename... Args>
from::shared_ptr< T > from::make_shared ( Args &&...  args)

from::shared_ptr make_shared implementation.

Uses a delay deleter from::delay_delete.

Template Parameters
Ttype to point to
AllocatorTagallocator type
Parameters
argstype constructor arguments
Returns
from::shared_ptr<T, AllocatorTag> resulting pointer