flyweight.hpp
|
#include <flyweight.hpp>
Public Member Functions | |
T | operator() (Args &&... args) |
Default creator implementation, just call the value constructor forwarding the passed arguments. | |
The default Creator functor used by flyweight. Constructs the value T
from arguments of type Args
.
T | Type that will be created. |
Args... | Arguments used to construct the value. |
|
inline |
Default creator implementation, just call the value constructor forwarding the passed arguments.