Skip to content

Safety & Bounds checking #8

@McGurranK

Description

@McGurranK

Summary

At the moment, the interface has elements that are unsafe for modern C++. No Bounds Checks, Raw pointers, buffer size as a variable & no tests to cover misusage.

Suggested Fixes:

  • Bounds checking functions for debug builds.
  • std::span to remove the need for raw pointers & buffer size variable.
  • BDD (Behaviour Driven Development) testing common usage and misusage.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions