Skip to content

Add non-copyable class to core kompute components #20

@axsaucedo

Description

@axsaucedo

Currently most of the Kompute components should not be passed using assignment or copy constructor operators. Also potentially deleting the base constructor on most classes that should not be created with the required data. ie

class NonCopyable {
public:
    NonCopyable() = default;
    NonCopyable(const NonCopyable&)  = delete;
    NonCopyable(const NonCopyable&&) = delete;
    NonCopyable& operator=(const NonCopyable&) = delete;
    NonCopyable& operator=(const NonCopyable&&) = delete;
};
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions