Example #1
0
 static void visit( const Key&, test::containers& p, visitor& v )
 {
     v.apply( "pair", p.pair );
     v.apply( "vector", p.vector );
     v.apply( "set", p.set );
     v.apply( "map", p.map );
 }
Example #2
0
 static void visit( const Key&, const test::old_plain::nested& p, visitor& v )
 {
     v.apply( "a", p.a );
     v.apply( "b", p.b );
     v.apply( "c", p.c );
 }
Example #3
0
 static void visit( const Key&, const test::old_plain& p, visitor& v )
 {
     v.apply( "blah", p.blah );
     v.apply( "hello", p.hello );
     v.apply( "world", p.world );
 }