karljj1 / kdis

DIS(IEEE 1278.1) Fully Implemented in C++. A complete open source implementation of DIS (Distributed Interactive Simulation) in C++. 1278.1 and 1278.1a are fully implemented including enumerations. Includes several utility classes to help with developing your DIS app.
BSD 2-Clause "Simplified" License
22 stars 10 forks source link

feat: Clone PDU via KDIS::PDU::clone function #20

Closed carlocorradini closed 8 months ago

carlocorradini commented 9 months ago

Fix #18 Example:

KDIS::PDU::Header pdu;
auto pdu_clone = KDIS::PDU::clone(pdu);

I've added an example (named clone) that shows how to clone, etc...

PS: CHANGELOG.md has been updated with all the missing changes

carlocorradini commented 9 months ago

It's definitely becoming professional 🤯😎🥳

carlocorradini commented 8 months ago

@karljj1 What do you think? As we finished adding tests I think it can be merged 🥳

karljj1 commented 8 months ago

@karljj1 What do you think? As we finished adding tests I think it can be merged 🥳

Yeah, I can finish the tests another time. Merge away :)