detecting POD types

David Nadlinger see at klickverbot.at
Fri Dec 28 19:35:52 PST 2012


On Sunday, 20 May 2012 at 13:50:17 UTC, japplegame wrote:
> I write function template that should works only with POD types 
> (i.e. base types, structures, enums etc.). Is there something 
> like C++11 std::is_pod 
> (http://en.cppreference.com/w/cpp/types/is_pod) template?

Sorry for resurrecting this old thread, but: What is your 
definition of "plain old data"? The D language doesn't have one.

David


More information about the Digitalmars-d-learn mailing list