Skip to content

[REIMPLEMENTATION] Discuss how to handle constructor, destructor, assign, etc. #84

@TheRedDaemon

Description

@TheRedDaemon

Some classes have constructors, for example src\OpenSHC\Random\RNG.hpp

RNG(RNG const&);
void operator=(RNG const&);

RNG();
~RNG();

In cases where we can not assume the default was used, like in this example (RNG* Constructor_RNG()), we need to provide an implementation for them, calling the MACRO function.

How do we handle this?
Another cpp file with these, like RNG.cpp, next to the function files?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions