This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/80251] Is the is_aggregate meta function missing?
- From: "gcc-bugs at marehr dot dialup.fu-berlin.de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 29 Mar 2017 21:34:53 +0000
- Subject: [Bug libstdc++/80251] Is the is_aggregate meta function missing?
- Auto-submitted: auto-generated
- References: <bug-80251-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80251
--- Comment #1 from gcc-bugs at marehr dot dialup.fu-berlin.de ---
I'm sorry for the inconvenience! I didn't see that is_aggregate was just a
recent addition to the standard [1]. I just wanted to see if I can check at
compile time if my data structure is an aggregate type, like I can do with
is_pod. And I just happened to find such a function on cppreference, but I
didn't realize that this was added quite recently.
[1] http://open-std.org/JTC1/SC22/WG21/docs/papers/2017/p0625r0.html#2911