63int main(
int argc,
char **argv)
72 JParser<> zap(
"Example program to test converions of array of objects to array of data members.");
78 catch(
const exception &error) {
88 buffer.push_back(__A__(i + 1));
91 if (
debug >= debug_t) {
100 const int* p = make_array(buffer.begin(), buffer.end(), &__A__::get).data();
103 ASSERT(buffer[i].get() == *p);
108 const int* p = make_array(buffer.begin(), buffer.end(), &__A__::i).data();
111 ASSERT(buffer[i].i == *p);
121 buffer.push_back(__A__(1));