add first design goals & principles

master
roker 2 years ago
parent 6707068d28
commit b5147af0c4

@ -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