1 // CODYlib -*- mode:c++ -*-
2 // Copyright (C) 2020 Nathan Sidwell, nathan@acm.org
3 // License: Apache v2.0
10 void Packet::Destroy ()
15 // Silly scope destructor name rules
16 using S
= std::string
;
21 using V
= std::vector
<std::string
>;
29 void Packet::Create (Packet
&&t
)
37 new (&string
) std::string (std::move (t
.string
));
41 new (&vector
) std::vector
<std::string
> (std::move (t
.vector
));