Closed pagesus closed 9 months ago
I try to apply dbg-macro to my old project, using gcc 4.8.5 to compile the code, but failed. In error message, I guess maybe is SFINAE fialed, then follow the guide from https://en.cppreference.com/w/cpp/types/void_t
I use the
template<typename... Ts> struct make_void { typedef void type; }; template<typename... Ts> using void_t = typename make_void<Ts...>::type;
to replace the definition in dbg.h's, then every thing is OK.
template <typename...> using void_t = void;
I report this compiling error here, if some one have same problem, may this can be a help. :-D
Thank you.
I try to apply dbg-macro to my old project, using gcc 4.8.5 to compile the code, but failed. In error message, I guess maybe is SFINAE fialed, then follow the guide from https://en.cppreference.com/w/cpp/types/void_t
I use the
to replace the definition in dbg.h's, then every thing is OK.
I report this compiling error here, if some one have same problem, may this can be a help. :-D