#### Topic: Limits for serialization

Again greetings! I want to add in YAS limits. Obvious application - restrictions on the sizes containers/lines. An example: struct type {std:: string str; template <typename Ar> void serialize (Ar &ar) {ar and yas:: limit (str, 32);//at deserialising the length of a line is restricted 32 to characters}};//... type t; yas:: binary_oarchive oa; oa and t; at deserialising if sees that the line 32 came - throws an exception. A question at me two: 1. Whether it is necessary to use limits and for serialization? (For record in archive) like as it is care of the user. 2. Whether it is necessary to use limits and for fundamental types? Thanks.