Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
211 views

C++ constexpr function template compiles with non-literal and non-aggregate types. Is this a bug with gcc? [duplicate]

Consider the following code: #include <iostream> #include <cstdlib> struct NonAggregate { // Non-aggregate due to user defined constructor // It is also not constexpr explicit ...
silversteel's user avatar