I study std::tuple.
Let's we have:
struct test_struct{};
I write
std::cout << typeid(std::tuple_element_t<0, std::tuple<struct test_struct &>>).name();
And I was expecting the type
struct test_struct &
But I received:
struct test_struct
How I can extract type struct test_struct & (preferably using std11)?
Thanks.
Aucun commentaire:
Enregistrer un commentaire