Displaying 1 result from an estimated 1 matches for "costructor".
Did you mean:
constructor
2019 Oct 04
2
[MachineScheduler]: SchedBoundary trivially copiable, but "HazardRec" is raw pointer: a design issue?
.... The pointer should be wrapped around a smart_ptr (a shared_ptr,
since we want to hold a copy)
2. Define a custom copy-constructor and assign-operator, such that
the ScoreBoard object, and not
the pointer, is copied.
If SchedBoundary was not designed to be copiable, then default
copy-costructor/assign-operator should
be marked as "deleted".
Let me know what do you think about it, and if there's actually the need
to submit a patch.
Best regards,
Lorenzo Casalino