Add default constructor to xrt_graph.h
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 686
- Forks
- 549
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 70
Description
Please add an empty default constructor to the xrt::graph class. This will make it easier to use an xrt::graph object within a user defined class.
Example:
class graph {
public:
graph() = default;
graph(const xrt::device& device, const xrt::uuid& xclbin_id, const std::string& name, access_mode am = access_mode::primary);
...
};
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting xrt_graph.h and the xrt::graph class declaration. Confirm that an empty default constructor is available alongside the existing constructor and that the header still builds for a user-defined class containing an xrt::graph member.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100