[odb-users] Variable name conflict in generated code

Boris Kolpackov boris at codesynthesis.com
Wed Sep 13 13:25:14 EDT 2017


Dieter Govaerts <dieter.govaerts at bricsys.com> writes:

> using KeyPtr = std::shared_ptr<Key>;
> 
> #pragma db object
> struct KeyValue
> {
> 	#pragma db id not_null
> 	KeyPtr key_;

Using object pointers as object ids is not yet supported (but is on
our TODO list).

Boris



More information about the odb-users mailing list