You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by Farid Zaripov <Fa...@kyiv.vdiweb.com> on 2007/02/20 20:15:51 UTC
[PATCH] Introducing the UserPOD and UserClass types
ChangeLog:
* rw_value.h: struct X renamed to the struct UserClass;
(struct UserPOD): New type for using in tests as POD type;
(struct UserData): New structure to be used in UserPOD and UserClass.
(_rw_user_class_fmat_init): New static variable to install
the formatting collback function for UserClass type.
* value.cpp: Use UserClass::data_.val_ instead of UserClass::val_;
(__rw_from_char): new function to create array of the UserXXX type
from string;
(_rw_mismatch): new function compare the array of the UserXXX type
and string.
Farid.