Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions