Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
SharedByValue.h File Reference
#include "Stroika/Foundation/StroikaPreComp.h"
#include <memory>
#include "Stroika/Foundation/Common/Common.h"
#include "SharedByValue.inl"

Go to the source code of this file.

Classes

struct  Stroika::Foundation::Memory::SharedByValue_CopyByDefault< T, SHARED_IMLP >
 SharedByValue_CopyByDefault is the default template parameter for copying SharedByValue. More...
 
struct  Stroika::Foundation::Memory::SharedByValue_Traits< T, SHARED_IMLP, COPIER >
 SharedByValue_Traits is a utility struct to provide parameterized support for SharedByValue<> More...
 
class  Stroika::Foundation::Memory::SharedByValue< T, TRAITS >
 SharedByValue is a utility class to implement Copy-On-Write (aka COW) - sort of halfway between unique_ptr and shared_ptr. More...
 

Namespaces

namespace  Stroika::Foundation
 

Enumerations

enum class  Stroika::Foundation::Memory::SharedByValue_State
 

Detailed Description

Note
Code-Status: Beta

TODO:

Definition in file SharedByValue.h.

Enumeration Type Documentation

◆ SharedByValue_State

This state is meant purely for code that may manage their internal behavior based on details of reference counting - not for semantic reasons, but to enhance performance.

Definition at line 65 of file SharedByValue.h.