ReactivePlusPlus
One more implementation of ReactiveX approach in C++ with care about performance and templates in mind
Loading...
Searching...
No Matches
memory_model.hpp
1
// ReactivePlusPlus library
2
//
3
// Copyright Aleksey Loginov 2022 - present.
4
// Distributed under the Boost Software License, Version 1.0.
5
// (See accompanying file LICENSE_1_0.txt or copy at
6
// https://www.boost.org/LICENSE_1_0.txt)
7
//
8
// Project home: https://github.com/victimsnino/ReactivePlusPlus
9
//
10
11
#pragma once
12
13
namespace
rpp
14
{
15
enum class
memory_model
16
{
17
// copy and move everywhere when needed
18
use_stack,
19
// make shared_ptr once and avoid any future copies/moves
20
use_shared,
21
};
22
}
// namespace rpp
src
rpp
rpp
memory_model.hpp
Generated by
1.9.7