diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-08 17:27:40 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-08 17:27:40 +0200 |
commit | 24f87489a4d315cc01ca9d49a3f0209522fe6729 (patch) | |
tree | 260a5479af34c9452679d63f9c892288417acac4 /composite/README | |
parent | 0431bdb607d898c1efb59211568b43ebd6890e25 (diff) |
Add support for defining composite value type as class template instantiations
Diffstat (limited to 'composite/README')
-rw-r--r-- | composite/README | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/composite/README b/composite/README index bf9e745..e33e7a9 100644 --- a/composite/README +++ b/composite/README @@ -7,8 +7,10 @@ The example consists of the following files: person.hxx Header file defining the 'basic_name', 'name_extras', and 'name' composite - value types. It also defines the 'person' persistent class which use the - 'name' value type in one of its data members. + value types. It also defines the 'phone_numbers' composite value type as + an instantiation of the 'std::pair' class template. Finally it defines + the 'person' persistent class which uses the 'name' and 'phone_numbers' + value types in its data members. person-odb.hxx person-odb.ixx |