Browse Source

add first design goals & principles

master
roker 1 year ago
parent
commit
b5147af0c4
1 changed files with 9 additions and 2 deletions
  1. +9
    -2
      README.md

+ 9
- 2
README.md View File

@ -1,3 +1,10 @@
# libpEpDatatypes
# libpEpDatatypes – A C++ wrapper for the basic C datatypes defined by the pEpEngine.
A C++ wrapper for the basic C datatypes defined by the pEpEngine.
## Design goals & principles
* implement move c'tor & operator for cheep moves
* _Qpen question_: deep copy / shallow copy (with ref couning?) / only explicit copy?
* always initialize all members. Better safe than sorry.
* Ownership of the member pointees: rule of thumb: "const" pointees are non-owned, non-const pointees are owned by the data structure. Exceptional cases are documented explicitly.
## API

Loading…
Cancel
Save