FastMM documentation
FastMM C++ API 0.14.0
Public headers, tier 1 and tier 2
Loading...
Searching...
No Matches
strategy.hpp File Reference

Strategy concept and the StrategyBase helper (8.6). More...

#include "fastmm/core/instrument.hpp"
#include "fastmm/core/messages.hpp"
#include "fastmm/strategies/hooks.hpp"
#include "fastmm/strategies/param_overrides.hpp"
#include "fastmm/strategies/params.hpp"
#include <array>
#include <concepts>
#include <cstddef>
#include <cstdint>
#include <optional>
#include <span>
#include <string>
#include <string_view>
#include <type_traits>

Go to the source code of this file.

Classes

class  fastmm::StrategyBase< Params, Scope >
 

Namespaces

namespace  fastmm
 

Concepts

concept  fastmm::StrategyLike
 

Enumerations

enum class  fastmm::ParamScope : std::uint8_t { fastmm::Shared , fastmm::PerInstrument }
 How a StrategyBase keeps its parameters. More...
 

Detailed Description

Strategy concept and the StrategyBase helper (8.6).

A strategy is a plain class with static name()/schema(), a params struct declared with FASTMM_PARAMS, and any subset of the engine hooks (all optional; see strategies/hooks.hpp and docs/reference/strategy-api.md).