This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/80251] Is the is_aggregate meta function missing?


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]