You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

927 B

libpEpDatatypes – 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.

Public API

  • defined in namespace pEp – Beware: it is shared with libpEpAdapter!)
  • header files are installed in PREFIX/include/pEp/ and are used via #include <pEp/filename.hh> – (Also shared with libpEpAdapter!)
  • the linked list datatypes implement the API of std::forward_list

Implementation details

  • internal stuff is in namespace pEp::datatypes