aboutsummaryrefslogtreecommitdiff
path: root/common/id/composite
AgeCommit message (Collapse)AuthorFilesLines
2020-02-13Drop copyright notice from source codeKaren Arutyunov3-3/+0
2019-01-17Update copyright yearKaren Arutyunov3-3/+3
2018-05-24Update copyright yearKaren Arutyunov3-3/+3
2017-01-03Update copyright yearBoris Kolpackov3-3/+3
2015-07-03Implement nested id supportBoris Kolpackov4-0/+1368
Now the 'id' specifier can optionally include the data member path to the id inside the composite value. For example: #pragma db id(first) std::pair<int, int> p; Note that one somewhat counter-intuitive aspect of this new feature is that the whole member marked with id ('p' in the above example) and not just the actual id member ('p.first' in the above example) is treated as readonly. Such nested id also cannot be automatically assigned (auto specifier).