Re:Cyclic dependencies are evil (2013)
by iso8859-1 on Saturday January 30, 2021 @12:58PM
(#25971251)
Which languages support this at all? Are you talking about ORM?
[ Parent
| on HN ]
I'm talking about something like this
std::relation<Foo, Bar> foobars;
...
auto& bars = foobars.forward(foo);
...
auto& foos = foobars.backward(bar);
Edit: Boost apparently has it, see e.g. https://stackoverflow.com/questions/1128144/c-maps-for-many-...