Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumC++type traits librarySingle-choice MCQ

What is the value of the static_assert expression here?

struct S { int x; void foo() {} // ordinary method }; static_assert(std::is_trivially_copyable_v<S>);