SpECTRE  v2024.04.12
NonFactoryCreatableWrapper< FactoryCreatableClass > Struct Template Reference

Simple struct that changes a class from being factory creatable, to non-factory creatable. More...

#include <NonFactoryCreatable.hpp>

Public Types

using factory_creatable_class = FactoryCreatableClass
 

Static Public Attributes

static constexpr bool factory_creatable = false
 

Detailed Description

template<typename FactoryCreatableClass>
struct NonFactoryCreatableWrapper< FactoryCreatableClass >

Simple struct that changes a class from being factory creatable, to non-factory creatable.

It does this by defining and setting a static constexpr bool factory_creatable = false.

Template Parameters
FactoryCreatableClassAny class that is already factory creatable.

The documentation for this struct was generated from the following file: