Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Following fails to compile with 12.5: struct struct_with_double { double x; }; stati

user4474919Oct 20 2016 — edited Oct 24 2016

The following should compile without any issues:

struct struct_with_double {

        double x;

    };

    static_assert(std::is_nothrow_destructible<struct_with_double>::value, "YYY");

But does not. Any ideas?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 21 2016
Added on Oct 20 2016
3 comments
522 views