From b5147af0c4ae388e8dc87a962c7d8ccec8f40174 Mon Sep 17 00:00:00 2001 From: roker Date: Wed, 5 May 2021 16:07:54 +0200 Subject: [PATCH] add first design goals & principles --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8dbbdd7..1a608b7 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file +## 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 \ No newline at end of file