/******************************************************************************
Welcome to GDB Online.
GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl,
C#, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog.
Code, Compile, Run and Debug online from anywhere in world.
*******************************************************************************/
#include <stdio.h>
#include <utility>
struct Vec3 {
int x = 3;
int y = 3;
int z = 3;
};
template <typename T>
class myProperty {
public:
template <typename ...P> myProperty(P &&... p) : m_value(std::forward<P>(p)...) {}
private:
T m_value;
};
int main()
{
myProperty<Vec3> vp1{1, 2, 3};
return 0;
}