utest case: Indicate explicitely that no data member shall be declared in the Case class.

pull/4521/head
Vincent Coubard 2017-06-02 16:52:00 +01:00 committed by adbridge
parent 9d67ce2d91
commit c11d497803
1 changed files with 4 additions and 1 deletions

View File

@ -164,7 +164,10 @@ namespace v1 {
bool is_empty() const;
private:
// see data member in case_t
// IMPORTANT: No data members shall be declared inside this class.
// Data members shall be declared in case_t to preserve the layout
// and the compatibility between the two types.
friend class Harness;
friend class Specification;
};