Say what I have .. int, int *, int ** etc. Can I use std :: remove_pointer or similarly to get a direct int type? Thanks
Yuppers.
template<typename T> struct remove_all { typedef T type; }; template<typename T> struct remove_all<T*> { typedef typename remove_all<T>::type type; };
std::remove_pointer alone is not so useful here.
std::remove_pointer
Source: https://habr.com/ru/post/1489194/More articles:VAST video ads between each video in a playlist - javascriptSql query to split one column into two columns - sqlRDLC: error processing local report - vb.netColumn column split into two columns in sql? - sqlHow can I get jQuery.live () and .expander to work together correctly? - jqueryHow to get an integer value that is greater than the maximum integer value - javaHow can I make the extension function work with jQuery dynamic data? - functionAuthentication with ajax in Play 2.1 - securityUsing scene builder and multiple controllers - javafxGetting Resource ID # 3 Error in MySql - databaseAll Articles