KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I currently have a variadic function which takes an arbitrary number of arguments of arbitrary types (duh), however, I want to restrict the types to ones which are POD only, and also the same size or smaller than that of a void*. The void* check was easy, I just did this: static_assert(sizeof...(Args) <= sizeof(PVOID), "Size of types must be <= memsize."); However I can't work out how to do the same for std::is_pod. Is this possible to do?
Tags (comma-separated)
Save Edits
Cancel