mirror of
https://github.com/Kistler-Group/sdbus-cpp.git
synced 2025-08-01 19:14:26 +02:00
Added constructor for sdbus::Struct
This commit is contained in:
@@ -97,6 +97,9 @@ namespace sdbus {
|
|||||||
public:
|
public:
|
||||||
using std::tuple<_ValueTypes...>::tuple;
|
using std::tuple<_ValueTypes...>::tuple;
|
||||||
|
|
||||||
|
Struct(const std::tuple<_ValueTypes...>& t)
|
||||||
|
: std::tuple<_ValueTypes...>(t) {}
|
||||||
|
|
||||||
template <std::size_t _I>
|
template <std::size_t _I>
|
||||||
auto& get()
|
auto& get()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user