From 24f87489a4d315cc01ca9d49a3f0209522fe6729 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 8 Jan 2012 17:27:40 +0200 Subject: Add support for defining composite value type as class template instantiations --- composite/README | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'composite/README') 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 -- cgit v1.1