+ BT_ASSERT_PRE((with_cs && stream_class->default_clock_class) ||
+ (!with_cs && !stream_class->default_clock_class),
+ "Creating a message with a default clock snapshot, but without "
+ "a default clock class, or without a default clock snapshot, "
+ "but with a default clock class: ",
+ "type=%s, %![stream-]+s, %![sc-]+S, with-cs=%d, "
+ "cs-begin-val=%" PRIu64 ", cs-end-val=%" PRIu64,
+ bt_message_type_string(type), stream, stream_class,
+ with_cs, beginning_raw_value, end_raw_value);