![]() |
Ginkgo
Generated from pipelines/2118098289 branch based on develop. Ginkgo version 1.11.0
A numerical linear algebra library targeting many-core architectures
|
This mixin implements a static create() method on ConcreteType that dynamically allocates the memory, uses the passed-in arguments to construct the object, and returns an std::unique_ptr to such an object.
More...
#include <ginkgo/core/base/polymorphic_object.hpp>
Static Public Member Functions | |
| template<typename... Args> | |
| static std::unique_ptr< ConcreteType > | create (Args &&... args) |
This mixin implements a static create() method on ConcreteType that dynamically allocates the memory, uses the passed-in arguments to construct the object, and returns an std::unique_ptr to such an object.
| ConcreteObject | the concrete type for which create() is being implemented [CRTP parameter] |
1.8.16