]> git.tdb.fi Git - libs/net.git/commit
Refactor the API for defining packets in Protocol
authorMikko Rasa <tdb@tdb.fi>
Sat, 10 Dec 2022 23:21:11 +0000 (01:21 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 10 Dec 2022 23:21:11 +0000 (01:21 +0200)
commit1565dec0f4a86e4bda7095dd7415234f7c7a84e9
treeb21d8c31c53c4f57af98944175f7d90c2cd6a492
parente900bb4a8fe086fac55ffe51c75915be0003c5e4
Refactor the API for defining packets in Protocol

A variadic template function provides a nicer interface than chained call
operators.  Required C++ standard version is now C++14 due to deduced
automatic return types.
Build
source/net/communicator.cpp
source/net/protocol.cpp
source/net/protocol.h
tests/protocol.cpp