[odb-users] Generating Database Support Code
Boris Kolpackov
boris at codesynthesis.com
Mon Dec 13 05:22:47 EST 2010
Hi Myoungkyu,
Myoungkyu Song <mksong at vt.edu> writes:
> SequenceModel.h:27:1: error: unnamed type in data member declaration
> SequenceModel.h:27:1: info: use 'typedef' to name this
ODB 1.0.0 does not support template-ids like x10aux::ref<x10::lang::String>
in persistent data members. The next release (1.1.0, planned for the beginning
of January) will fix this. In the meantime, you can use a typedef alias to
work around this limitation, for example:
typedef x10aux::ref<x10::lang::String> StringRef;
StringRef FMGL(id);
I can also package you a beta distribution of ODB 1.1.0 with the template-id
support, if you would like.
Boris
More information about the odb-users
mailing list